summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-07-11 01:43:13 (EDT)
committerManik Kishore2012-07-19 02:19:38 (EDT)
commit574d531d6ff18905f6752126c8cf6c910fce212e (patch)
tree016abd2e31559e28feab52ef241d1a328d13e3b7
parentf7725438409f39adc501215275e6c83044e6bf46 (diff)
downloadorg.eclipse.stardust.ui.web-574d531d6ff18905f6752126c8cf6c910fce212e.zip
org.eclipse.stardust.ui.web-574d531d6ff18905f6752126c8cf6c910fce212e.tar.gz
org.eclipse.stardust.ui.web-574d531d6ff18905f6752126c8cf6c910fce212e.tar.bz2
Jira-ID: CRNT-25295
1)Made changes to set different elementOid for Activity and ActivitySymbol on creation. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@57573 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/CreateActivityCommandHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/CreateActivityCommandHandler.java b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/CreateActivityCommandHandler.java
index f2d0d09..7ace651 100644
--- a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/CreateActivityCommandHandler.java
+++ b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/CreateActivityCommandHandler.java
@@ -59,7 +59,7 @@ public class CreateActivityCommandHandler implements ICommandHandler
String modelId = model.getId();
ActivityType activity = MBFacade.createActivity(modelId, processDefinition, activityType, participantFullID,
- modelId, model.getName(), applicationFullID, subProcessID, maxOid);
+ modelId, model.getName(), applicationFullID, subProcessID, maxOid++);
ModelService.setDescription(activity, request.getAsJsonObject(ModelerConstants.MODEL_ELEMENT_PROPERTY));