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

Bug 488352

Summary: Expose computation strategy as property of ChopBoxAnchor
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:
Bug Depends on:    
Bug Blocks: 488360    

Description Alexander Nyßen CLA 2016-02-24 02:01:28 EST
The strategy used by a ChopBoxAnchor may need to be adjusted when the IConnectionRouter of an anchored connection changes (e.g. to compute the anchor position as the shortest horizontal or vertical distance to the reference point for an orthogonal router). We should thus expose the computation strategy as a property, so it can be adjusted after the anchor creation (even via binding).
Comment 1 Alexander Nyßen CLA 2016-02-25 03:39:25 EST
Introduced a writable Object property via which the computation strategy can be exchanged. Resolving as fixed in 4.0.0 M6.