| Summary: | BendConnectionPolicy should use operations that uses IBendableContentPart | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Alexander Nyßen <nyssen> |
| Component: | GEF MVC | Assignee: | gef-inbox <gef-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | matthias.wienand |
| Version: | 1.0.0 | ||
| Target Milestone: | 5.0.0 (Oxygen) RC2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Alexander Nyßen
For content bend points, the policy already uses BendContentOperation that delegates to IBendableContentPart#setContentBendPoints(). On the other hand, the BendConnectionOperation currently replaces the anchors for the manipulated Connection, instead of delegating to IBendableContentPart#setVisualBendPoints(). I removed BendConnectionOperation and added BendVisualOperation as a replacement that exchanges the (visual) bend points of an IBendableContentPart, instead of exchanging the anchors of the corresponding Connection visual. Moreover, I removed UpdateAnchorHintsOperation. The hints are now set as positions for attached bend points. The code is published on the master branch, therefore, I resolve this ticket as fixed for 5.0.0 RC2. |