summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-07-18 06:38:37 (EDT)
committer Manik Kishore2012-07-19 02:20:39 (EDT)
commitd401e70eede20259cf3cbec6c7515d4a8df68ac8 (patch)
tree7e4f91c913e6f64ce79a6a727d134d38553b9411
parentd8c7ce1e3fc770c7c88c5f31b0995366a37ac54c (diff)
downloadorg.eclipse.stardust.ui.web-d401e70eede20259cf3cbec6c7515d4a8df68ac8.zip
org.eclipse.stardust.ui.web-d401e70eede20259cf3cbec6c7515d4a8df68ac8.tar.gz
org.eclipse.stardust.ui.web-d401e70eede20259cf3cbec6c7515d4a8df68ac8.tar.bz2
Jira-ID: CRNT-25497
1)Added code to register the symbol in createActivitySymbol() and createEventSymbol() in m_activitySymbol.js and m_eventSymbol.js git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@57732 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_activitySymbol.js2
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_eventSymbol.js4
2 files changed, 5 insertions, 1 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_activitySymbol.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_activitySymbol.js
index c9f1304..f755717 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_activitySymbol.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_activitySymbol.js
@@ -24,6 +24,8 @@ define(
activitySymbol.modelElement = m_activity.createActivity(
diagram.process, type);
+
+ activitySymbol.diagram.process.activities[activitySymbol.modelElement.id] = activitySymbol.modelElement;
return activitySymbol;
},
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_eventSymbol.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_eventSymbol.js
index 8c71dbe..83fe93e 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_eventSymbol.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_eventSymbol.js
@@ -23,7 +23,9 @@ define(
eventSymbol.bind(diagram);
eventSymbol.modelElement = m_event
.createStartEvent(diagram.process);
-
+
+ eventSymbol.diagram.process.events[eventSymbol.modelElement.id] = eventSymbol.modelElement;
+
return eventSymbol;
},
createStopEventSymbol : function(diagram) {