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

Bug 242190

Summary: Add "Collapse All" action to Outline view
Product: [Modeling] Ecoretools Reporter: Eike Stepper <stepper>
Component: GeneralAssignee: Project Inbox <ecore-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: contact, jlescot
Version: 0.8Keywords: noteworthy, plan
Target Milestone: M5   
Hardware: All   
OS: All   
Whiteboard: Usability

Description Eike Stepper CLA 2008-07-28 03:56:14 EDT
Especially when linking the Outline view to the diagram editor quickly all model elements get expanded and it would be cool if I could collapse them all easily.
Comment 1 Benjamin Cabé CLA 2008-11-11 11:29:48 EST
Hi guys! this link can be useful: http://blog.eclipse-tips.com/2008/09/generic-collapse-all-handler.html
Comment 2 Jacques LESCOT CLA 2009-02-02 11:24:21 EST
Thanks for the link, Benjamin !

I created a new action in order to collapse the treeViewer and also register the corresponding Handler to the viewer.

Also fix a bug on the "Link with Editor" action that were not synchronizing editor with the current selected element in the outline the first time (when activating this 'mode')