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

Bug 499213

Summary: When an anchorage of a curve is removed in the MVC Logo Example, the connected end point is set to the origin instead of remaining at its previous location.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: 4.1.0 (Neon.1) RC1   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2016-08-05 05:01:31 EDT
Within the MVC Logo Example, the end points of curves can be connected to shapes. When a shape is removed (by selecting it and pressing <Delete> or hovering it and clicking the "X" hover handle) all connected end points "jump" to the origin. They should instead remain at their previous locations.
Comment 1 Matthias Wienand CLA 2016-08-09 07:49:34 EDT
Within the MVC Logo Example, I ensured that the start and end points of a curve are always stored as the first and last way point of that curve. For this prupose, I added code to the attach() and detach() methods within FXGeometricCurvePart. Moreover,  The code is published on the master branch and was ported back to the R4_0_maintenance branch. Therefore, I resolve this ticket as fixed for 4.1.0 RC1 / 5.0.0 M1.