summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-07-13 03:08:24 (EDT)
committer Manik Kishore2012-07-19 02:20:01 (EDT)
commit58ef8295c22cc52647330ba196c2afd1408b10fe (patch)
tree9c4f6cf2a4405a6e628ce7d2dcd8ab173d4a63f0
parentb807be03564ff01a31bf28547e9d398b6fda9324 (diff)
downloadorg.eclipse.stardust.ui.web-58ef8295c22cc52647330ba196c2afd1408b10fe.zip
org.eclipse.stardust.ui.web-58ef8295c22cc52647330ba196c2afd1408b10fe.tar.gz
org.eclipse.stardust.ui.web-58ef8295c22cc52647330ba196c2afd1408b10fe.tar.bz2
Jira-ID: CRNT-25295
1)Added code to call move command Protocol on swimlane when activity drag stretch/shrinks the swimlane. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@57620 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneSymbol.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneSymbol.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneSymbol.js
index 2bc1c40..17d99b6 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneSymbol.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneSymbol.js
@@ -949,6 +949,12 @@ define(
}
this.parentSymbol.recalculateBoundingBox();
this.parentSymbol.adjustGeometry();
+ if ((parseInt(preAdjustmentPos.width) != parseInt(this.width))
+ || (parseInt(preAdjustmentPos.heigth) != parseInt(this.heigth))) {
+ var newGeometry = {"x": this.x, "y" : this.y, "oid" : this.oid, "width" : this.width , "height" :this.height};
+ var command = m_command.createMoveNodeSymbolCommand(this.getPath(true), {oid : this.oid}, newGeometry, this);
+ m_commandsController.submitCommand(command);
+ }
};
/**