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

Bug 442972

Summary: Anchor link feedback calculations should re-use FXChopBoxAnchor logic
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: 3.10.0 (Mars) M2   
Hardware: All   
OS: All   
Whiteboard:

Description Alexander Nyßen CLA 2014-08-31 23:37:56 EDT
Up to now, the code used to compute the selection link feedback is basically the same as this of the FXChopBoxAnchor (it also has the same problems outlined in bug #442971). We should make sure, the logic from FXChopBoxAnchor is not duplicated but re-used.
Comment 1 Matthias Wienand CLA 2014-09-26 10:32:00 EDT
I extracted an FXChopBoxComputationStrategy which can be passed-in to the constructor of the FXChopBoxAnchor. The strategy is also used (i.e. re-used) to compute the link feedback in the FXDefaultFeedbackPartFactory for link feedback.

The code is published on the master branch, therefore resolving this ticket as fixed for target milestone 3.10.0M2.