Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 493242

Summary: When changing the routing style in the MVC logo, an unconnected curve is relocated to (0,0).
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF MVCAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2.0   
Target Milestone: 4.0.0 (Neon) RC1   
Hardware: All   
OS: All   
Whiteboard:

Description Alexander Nyßen CLA 2016-05-09 09:24:38 EDT
When changing the routing style, all points of a connection are cleared. This also seems to involve the end-points, so that an unconnected curve is relocated to (0,0). We should ensure only the way points and start/end-point position hints are cleared.
Comment 1 Alexander Nyßen CLA 2016-05-11 08:04:26 EDT
I pushed the following changes to origin/master:

- Ensure FXGeometricCurve always stores start and end points within its waypoint list.
- Ensured that construction of curves within FXGeometricModel provides start and end points.
- Ensured that FXBendConnectionPolicy passes start and end point positions/hints to the IBendableContentPart, even if start and end are connected.
- Ensured that MvcLogoExampleView only resets the control points of a curve when switching the routing style, not the start and end points.

Resolving as fixed in 4.0.0 RC1.