| Summary: | Demonstrate orthogonal connection routing in MVC example. | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Alexander Nyßen <nyssen> |
| Component: | GEF MVC | Assignee: | Matthias Wienand <matthias.wienand> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | matthias.wienand |
| Version: | 0.2.0 | ||
| Target Milestone: | 4.0.0 (Neon) M6 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 488352, 488358 | ||
| Bug Blocks: | |||
|
Description
Alexander Nyßen
I added an "isSegmentBased" property to FXGeometricCurve and established the property sheet integration (FXCurvePropertySource). Alexander renamed the property to "routingStyle" and created an enum for the possible values: orthogonal or straight. The FXGeometricCurvePart sets the connection's router and interpolator depending on its "routingStyle" and adjusts the computation strategy for its start and end anchors accordingly. However, when changing the property, the control points of the curve need to be reset, which is currently not performed within an operation, and hence, is not undoable. I will resolve this ticket as fixed as soon as the property change is undoable. Added a specific root property sheet entry in MvcLogoExampleView, which chains a clear waypoints operation in case the routing style is changed. Resolving as fixed in 4.0.0 M6. |