commit | b4868e8feb4c50cf47d1120eada867b27ca8c603 | [log] [tgz] |
---|---|---|
author | mgorning <mgorning> | Wed Sep 08 08:48:02 2010 +0000 |
committer | mgorning <mgorning> | Wed Sep 08 08:48:02 2010 +0000 |
tree | 7c6477cb9b62aaf14ce930d37cc10b36866e4b95 | |
parent | ae0056fda937c667506d2585a25d613cfc760d69 [diff] |
cleanup tool behavior provider
diff --git a/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/parts/ShapeEditPart.java b/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/parts/ShapeEditPart.java index 9aebc44..7a8e8a1 100644 --- a/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/parts/ShapeEditPart.java +++ b/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/parts/ShapeEditPart.java
@@ -491,7 +491,7 @@ // pressed F2 outside the current shape edit part // location for direct editing is still unknown IToolBehaviorProvider tbp = getConfigurationProvider().getDiagramTypeProvider().getCurrentToolBehaviorProvider(); - locationInfo = tbp.getDefaultLocationInfoForDirectEditing(shape, locationInfo); + locationInfo = tbp.getCustomLocationInfo(shape, locationInfo); if (locationInfo != null) {