summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2013-03-05 03:03:34 (EST)
committer Sven Rottstock2013-03-11 06:38:50 (EDT)
commit340c3099c546401fb214c033e0d0fa9b1cff054d (patch)
tree1983f7a729f82f0d225990333a3ce8634bbfc99f
parent66b04d5e53860bd6443816b9c80a05a59cf35ffb (diff)
downloadorg.eclipse.stardust.ui.web-340c3099c546401fb214c033e0d0fa9b1cff054d.zip
org.eclipse.stardust.ui.web-340c3099c546401fb214c033e0d0fa9b1cff054d.tar.gz
org.eclipse.stardust.ui.web-340c3099c546401fb214c033e0d0fa9b1cff054d.tar.bz2
Jira-ID: CRNT-28220 Trigger 'participant' does not update after changing role participant
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@63474 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementMarshaller.java14
1 files changed, 12 insertions, 2 deletions
diff --git a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementMarshaller.java b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementMarshaller.java
index 8b53aeb..030c2c7 100644
--- a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementMarshaller.java
+++ b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementMarshaller.java
@@ -1171,9 +1171,9 @@ public abstract class ModelElementMarshaller implements ModelMarshaller
+ laneOffsetY);
//set default height and width if not defined
-
+
int width = startEventSymbol.getWidth();
-
+
if ( -1 == width)
{
width = ModelerConstants.EVENT_ICON_WIDTH;
@@ -1480,6 +1480,16 @@ public abstract class ModelElementMarshaller implements ModelMarshaller
}
}
+ String participantFullID = getModelBuilderFacade().createFullId(
+ model,
+ getModelBuilderFacade().findParticipant(
+ model,
+ getModelBuilderFacade().getAttributeValue(
+ getModelBuilderFacade().getAttribute(event,
+ PredefinedConstants.MANUAL_TRIGGER_PARTICIPANT_ATT))));
+
+ eventJson.addProperty(ModelerConstants.PARTICIPANT_FULL_ID, participantFullID);
+
// Load starting Participant
// TODO The code below is wrong as full references are not loaded
// TODO May be only loaded for None Start Events