diff options
author | bblajer | 2007-04-24 14:16:13 +0000 |
---|---|---|
committer | bblajer | 2007-04-24 14:16:13 +0000 |
commit | 38f20dc71ceba82789701bacc5637b88e3f5dfd3 (patch) | |
tree | 6f831aad660f992738e17ab85e0a03a85f8310be /plugins/org.eclipse.gmf.runtime.lite/src/org | |
parent | 58df3ab8d37453575e74c8c16a30b2552b9a639b (diff) | |
download | org.eclipse.gmf-tooling-38f20dc71ceba82789701bacc5637b88e3f5dfd3.tar.gz org.eclipse.gmf-tooling-38f20dc71ceba82789701bacc5637b88e3f5dfd3.tar.xz org.eclipse.gmf-tooling-38f20dc71ceba82789701bacc5637b88e3f5dfd3.zip |
Undo incorrectly moved the bounds/bendpoints: fixed
Diffstat (limited to 'plugins/org.eclipse.gmf.runtime.lite/src/org')
-rw-r--r-- | plugins/org.eclipse.gmf.runtime.lite/src/org/eclipse/gmf/runtime/lite/commands/ReplaceNotationalElementCommand.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.runtime.lite/src/org/eclipse/gmf/runtime/lite/commands/ReplaceNotationalElementCommand.java b/plugins/org.eclipse.gmf.runtime.lite/src/org/eclipse/gmf/runtime/lite/commands/ReplaceNotationalElementCommand.java index 04032adc6..005ba0dbd 100644 --- a/plugins/org.eclipse.gmf.runtime.lite/src/org/eclipse/gmf/runtime/lite/commands/ReplaceNotationalElementCommand.java +++ b/plugins/org.eclipse.gmf.runtime.lite/src/org/eclipse/gmf/runtime/lite/commands/ReplaceNotationalElementCommand.java @@ -66,9 +66,9 @@ public class ReplaceNotationalElementCommand extends AbstractCommand { View createdView = createCommand.getCreatedView(); if (createdView != null && obsoleteView != null && createdView.eClass().equals(obsoleteView.eClass())) { if (NotationPackage.eINSTANCE.getNode().equals(createdView.eClass())) { - copy(obsoleteView, createdView, NotationPackage.eINSTANCE.getNode_LayoutConstraint()); + copy(createdView, obsoleteView, NotationPackage.eINSTANCE.getNode_LayoutConstraint()); } else if (NotationPackage.eINSTANCE.getEdge().equals(createdView.eClass())) { - copy(obsoleteView, createdView, NotationPackage.eINSTANCE.getEdge_Bendpoints()); + copy(createdView, obsoleteView, NotationPackage.eINSTANCE.getEdge_Bendpoints()); } } removeCommand.undo(); |