Bug 242190 - Add "Collapse All" action to Outline view
Summary: Add "Collapse All" action to Outline view
Status: RESOLVED FIXED
Alias: None
Product: Ecoretools
Classification: Modeling
Component: General (show other bugs)
Version: 0.8   Edit
Hardware: All All
: P3 enhancement
Target Milestone: M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: Usability
Keywords: noteworthy, plan
Depends on:
Blocks:
 
Reported: 2008-07-28 03:56 EDT by Eike Stepper CLA
Modified: 2009-03-27 06:16 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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')