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

Bug 454148

Summary: Remove ExpandCollapseManager from LayoutContext (parameterize SpaceTreeLayoutAlgorithm with it).
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF LayoutAssignee: Matthias Wienand <matthias.wienand>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.10.0 (Mars) M4   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2014-12-04 11:05:32 EST
The ExpandCollapseManager is only used by the SpaceTreeLayoutAlgorithm. Therefore, it should be moved as a nested interface to that algorithm, removing it as well from the LayoutContext. Instead an implementation should directly be passed to the SpaceTreeLayoutAlgorithm upon construction.
Comment 1 Matthias Wienand CLA 2014-12-04 11:31:11 EST
Moved the ExpandCollapseManager interface into the SpaceTreeLayoutAlgorithm class. The code is published on the master branch. Therefore, resolving this ticket as fixed in 3.10.0M4.