| Summary: | add resizing context to getResizeConfiguration | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Graphiti | Reporter: | Volker Wegert <eclipse> | ||||
| Component: | Core | Assignee: | Project Inbox <graphiti-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | matthias.gorning, michael.wenz | ||||
| Version: | 0.7.0 | Flags: | matthias.gorning:
indigo+
matthias.gorning: iplog+ |
||||
| Target Milestone: | 0.8.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | Indigo M4 theme_round_offs | ||||||
| Attachments: |
|
||||||
|
Description
Volker Wegert
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 |