summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-11-01 03:18:35 (EDT)
committer Sven Rottstock2012-11-01 03:18:35 (EDT)
commit338a8a9443ec400b4acca8bb249e3cd21b1bfd6a (patch)
treea30a8a7d703cdf4eddb4489e8d4460cd2dc47ea3
parent56c43171504d0c0185a109c569589d2df8d23853 (diff)
downloadorg.eclipse.stardust.ui.web-338a8a9443ec400b4acca8bb249e3cd21b1bfd6a.zip
org.eclipse.stardust.ui.web-338a8a9443ec400b4acca8bb249e3cd21b1bfd6a.tar.gz
org.eclipse.stardust.ui.web-338a8a9443ec400b4acca8bb249e3cd21b1bfd6a.tar.bz2
CRNT-26452
Added code to update the pool Symbol co-ordinates on swimlane stretch/shrink for Undo/redo git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@60468 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_diagram.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_diagram.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_diagram.js
index 9b02394..94b393f 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_diagram.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_diagram.js
@@ -797,6 +797,14 @@ define(
m_utils.debug("Changed symbol to:");
m_utils.debug(symbol);
symbol.refresh();
+ if ((command.isUndo || command.isRedo)
+ && symbol.type == m_constants.SWIMLANE_SYMBOL) {
+ // When swimlane co-ordinates change,
+ // PoolSymbol needs adjustment.
+ symbol.parentSymbol
+ .recalculateBoundingBox();
+ symbol.parentSymbol.adjustPrimitives();
+ }
this.resetLastSymbol(symbol.oid);
}