summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-08-30 06:24:05 (EDT)
committerStephan Born2012-08-30 06:24:05 (EDT)
commitbfc304c80654ee1e93bd144100cbec031a17f2a1 (patch)
tree14a593b500784e1bac922fef49156b1356e58bbe
parent73e9c6e44df871d001693974319289ce4c4a6179 (diff)
downloadorg.eclipse.stardust.ui.web-bfc304c80654ee1e93bd144100cbec031a17f2a1.zip
org.eclipse.stardust.ui.web-bfc304c80654ee1e93bd144100cbec031a17f2a1.tar.gz
org.eclipse.stardust.ui.web-bfc304c80654ee1e93bd144100cbec031a17f2a1.tar.bz2
CRNT-25577
1)Removed the adjustment done at server side and client side in X,Y co-ordinates at ModelElementMarshaller for startEvent and endEvent git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@58796 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementMarshaller.java5
1 files changed, 2 insertions, 3 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 9bdaf37..3229978 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
@@ -734,8 +734,7 @@ public abstract class ModelElementMarshaller
// TODO check this math
eventSymbolJson.addProperty(ModelerConstants.X_PROPERTY, startEventSymbol.getXPos()
- + laneOffsetX + (startEventSymbol.getWidth() / 2)
- - ModelerConstants.START_END_SYMBOL_LEFT_OFFSET);
+ + laneOffsetX);
eventSymbolJson.addProperty(ModelerConstants.Y_PROPERTY, startEventSymbol.getYPos()
+ laneOffsetY);
@@ -785,7 +784,7 @@ public abstract class ModelElementMarshaller
eventSymbolJson.addProperty(ModelerConstants.OID_PROPERTY,
endEventSymbol.getElementOid());
eventSymbolJson.addProperty(ModelerConstants.X_PROPERTY, endEventSymbol.getXPos()
- + laneOffsetX + ModelerConstants.START_END_SYMBOL_LEFT_OFFSET);
+ + laneOffsetX);
eventSymbolJson.addProperty(ModelerConstants.Y_PROPERTY, endEventSymbol.getYPos()
+ laneOffsetY);