Community
Participate
Working Groups
Build Identifier: The method getResizeConfiguration() of IResizeFeature should receive the IResizeShapeContext so that the feature can enable or disable the horizontal or vertical resizing facilities dynamically, e. g. based on the selection. There's also a typo in IResizeShapeContext. Reproducible: Always
Created attachment 185019 [details] proposed patch This patch both fixes the typo and extends the method signature.
There is one additional problem: If I switch off both horizontal and vertical resizing, a selected diagram element is no longer highlighted. This can be fixed by changing /org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/policy/GFResizableEditPolicy.java, method createShapeHandles: Replace list.add(new GFSurroundingHandle(owner, cp, supportedResizeDirections, movable)); with list.add(new GFSurroundingHandle(owner, cp, PositionConstants.NSEW, movable));
Patch applied and proposal from comment 2 inserted.
Corrected whiteboard entry to "theme_round_offs"
Part of 0.8.0
Part of Graphiti Indigo 0.8.0