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

Bug 438369

Summary: Infinite recursion when anchoring the same node twice on one anchorage.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF FXAssignee: Matthias Wienand <matthias.wienand>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Matthias Wienand CLA 2014-06-27 06:18:12 EDT
The anchor mechanism provided by the GEF4 FX component does not support anchoring the same node multiple times on one anchorage, because only one anchor position per anchored is computed.

In the case of a connection with start and end point, if you want to anchor both points on the same anchorage, the corresponding anchor will infinitely compute their positions as changing one position will override the other and therefore trigger a recomputation.
Comment 1 Matthias Wienand CLA 2014-06-30 11:33:56 EDT
Extended the anchor mechanism to allow multiple positions for the same anchored Node. The changes are pushed to the master branch. Resolving as fixed.