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

Bug 487325

Summary: IConnectionRouter should be called-back when manipulating (control-/way-)points of the underlying curve.
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF FXAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2.0   
Target Milestone: 4.0.0 (Neon) M6   
Hardware: All   
OS: All   
Whiteboard:

Description Alexander Nyßen CLA 2016-02-05 06:37:09 EST
In certain situations, e.g. when moving a control-/way-point, it may be up to the connection router to add/remove further control-/way-points or to adjust the positions of other control-/way-points in response. To enable this, the Connection should 'pass' control-/way-point changes 'through' the IConnectionRouter, and use the control-/way-point produced by the router.

This way, a rectilinear router could e.g. move adjacent waypoints when manipulating a waypoint (to realize a segment move). Further, the router could implement restrictions on moving waypoints via this mechanism.
Comment 1 Alexander Nyßen CLA 2016-02-26 07:59:19 EST
I changed the contract of IConnectionRouter as part of bug #487274, so that the Connection gets now passed in and the router can e.g. adjust the control points. Therefore, resolving as fixed in 4.0.0 M6.