summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-07-10 09:28:52 (EDT)
committerManik Kishore2012-07-19 01:37:33 (EDT)
commitc047c098dd35722ebcefcf48c4ca22a2724d5416 (patch)
tree4de1325560412aca368f597fd679729b3ecf405d
parentd184b9c14d732f0d65fcf869eef091c4d85815f1 (diff)
downloadorg.eclipse.stardust.ide-c047c098dd35722ebcefcf48c4ca22a2724d5416.zip
org.eclipse.stardust.ide-c047c098dd35722ebcefcf48c4ca22a2724d5416.tar.gz
org.eclipse.stardust.ide-c047c098dd35722ebcefcf48c4ca22a2724d5416.tar.bz2
Jira-ID: CRNT-25295
1)Added classed to handle command protocol for create symbols 2)Moved constants from ModelService.java to ModelerConstants.java. 3)Made changes to m_diagram.js processCommand. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@57571 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/session/Modification.java4
-rw-r--r--model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelerConstants.java6
2 files changed, 8 insertions, 2 deletions
diff --git a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/session/Modification.java b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/session/Modification.java
index 523298c..528503c 100644
--- a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/session/Modification.java
+++ b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/session/Modification.java
@@ -60,7 +60,7 @@ public class Modification
public Collection<EObject> addedObjects()
{
- return changeDescription.getObjectsToAttach();
+ return changeDescription.getObjectsToDetach();
}
public Collection<EObject> changedObjects()
@@ -70,7 +70,7 @@ public class Modification
public Collection<EObject> removedObjects()
{
- return changeDescription.getObjectsToDetach();
+ return changeDescription.getObjectsToAttach();
}
public ChangeDescription getChangeDescription()
diff --git a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelerConstants.java b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelerConstants.java
index 17f77a5..c1c57e5 100644
--- a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelerConstants.java
+++ b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelerConstants.java
@@ -28,4 +28,10 @@ public class ModelerConstants
public static final String MANUAL_ACTIVITY = "Manual";
public static final String APPLICATION_ACTIVITY = "Application";
public static final String SUBPROCESS_ACTIVITY = "Subprocess";
+ public static final String ACTIVITY_TYPE = "activityType";
+ public static final String MODEL_ELEMENT_PROPERTY = "modelElement";
+ public static final String PARTICIPANT_FULL_ID = "participantFullId";
+ public static final String SUBPROCESS_ID = "subprocessFullId";
+ public static final String APPLICATION_FULL_ID_PROPERTY = "applicationFullId";
+ public static final String NAME_PROPERTY = "name";
}