summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-08-29 02:00:50 (EDT)
committer Stephan Born2012-08-29 02:00:50 (EDT)
commit27c4212ea86968bfc6831018dfd3e3de972ca5bd (patch)
treef4a480a0c9a89209c6b794e55764ccd3cfb3bc8b
parent903bfd8fcb4dbcac0f59f11cb8daa0b7422de38d (diff)
downloadorg.eclipse.stardust.ui.web-27c4212ea86968bfc6831018dfd3e3de972ca5bd.zip
org.eclipse.stardust.ui.web-27c4212ea86968bfc6831018dfd3e3de972ca5bd.tar.gz
org.eclipse.stardust.ui.web-27c4212ea86968bfc6831018dfd3e3de972ca5bd.tar.bz2
CRNT-25974
1)Added code to set ElementOID in GatewayCommandHandler git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@58745 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/GatewayCommandHandler.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/GatewayCommandHandler.java b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/GatewayCommandHandler.java
index ebfe032..41f82da 100644
--- a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/GatewayCommandHandler.java
+++ b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/GatewayCommandHandler.java
@@ -67,7 +67,7 @@ public class GatewayCommandHandler
extractString(request, ModelerConstants.MODEL_ELEMENT_PROPERTY, ModelerConstants.NAME_PROPERTY))
.havingDefaultPerformer(ADMINISTRATOR_ROLE).build();
- gateway.setElementOid(maxOid);
+ gateway.setElementOid(++maxOid);
gateway.setImplementation(ActivityImplementationType.ROUTE_LITERAL);
processDefinition.getActivity().add(gateway);