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

Bug 441643

Summary: Ensure selection is refreshed upon undo of add waypoint operation
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
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-08-12 16:55:30 EDT
When undoing the creation of a waypoint, while the connection is selected, the FXSegmentHandle will snap to (0,0). We should make sure that the selection update within FXBendOnHandleDrag#release() is encapsulated in an operation provided by FXBendPolicy#commit(), so selection is also refreshed on undo.
Comment 1 Matthias Wienand CLA 2014-09-10 04:09:54 EDT
I implemented the re-select with two ChangeSelectionOperations within FXBendPolicy#commit(). As the code is published on the master branch, I change the status to RESOLVED, FIXED.