commit | cb2691326685d10d81bb72f1ea4febbf25af89a5 | [log] [tgz] |
---|---|---|
author | mgorning <mgorning> | Thu Mar 03 12:45:15 2011 +0000 |
committer | mgorning <mgorning> | Thu Mar 03 12:45:15 2011 +0000 |
tree | 9186119230f59bc9e5b5bae5b65632fd968c4f9c | |
parent | 81c62c1c2698909b29f9a997ff1b3dce97e268f9 [diff] |
Bug 326396 : set the correct target location in the reconnection context
diff --git a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/features/context/impl/ReconnectionContext.java b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/features/context/impl/ReconnectionContext.java index d12a5ab..8ef3806 100644 --- a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/features/context/impl/ReconnectionContext.java +++ b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/features/context/impl/ReconnectionContext.java
@@ -64,11 +64,12 @@ * @param newAnchor * the new anchor */ - public ReconnectionContext(Connection connection, Anchor oldAnchor, Anchor newAnchor) { + public ReconnectionContext(Connection connection, Anchor oldAnchor, Anchor newAnchor, ILocation targetLocation) { super(); setConnection(connection); setOldAnchor(oldAnchor); setNewAnchor(newAnchor); + setTargetLocation(targetLocation); } /**