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

Bug 439480

Summary: Implement Relocate-On-Drag for Connections (MVC.FX Example)
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF MVCAssignee: Matthias Wienand <matthias.wienand>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matthias.wienand
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Alexander Nyßen CLA 2014-07-13 07:03:45 EDT
We should implement "Relocate-On-Drag" also for Connections in the form of a translation of all its waypoints and endpoints. If the connection is anchored on a node when starting to drag, the end points should be disconnected by the drag operation (replaced with static anchors), if the end points "leave" the source and target nodes. If the connection is dragged to a place, where its end points can be anchored on new source or target nodes, this should happen as well. Both should be indicated via life-feedback during the drag operation.

We should add this to our MVC.FX Example, generalizing as much as possible into MVC.FX.
Comment 1 Matthias Wienand CLA 2014-07-18 06:46:10 EDT
I implemented basic "Relocate-On-Drag" in the example. The connection's way points are relocated during dragging while the end points are not relocated currently. Therefore, reconnecting the end points (and possibly the way points, too) is still missing in the implementation.
Comment 2 Matthias Wienand CLA 2014-07-18 11:51:53 EDT
We consider the current behavior to be sufficient for a pleasant user experience. Therefore, I am changing the status to RESOLVED, FIXED.