Bug 210528 - [Commands] [JFace] Provide a reusable CollapseAllAction
Summary: [Commands] [JFace] Provide a reusable CollapseAllAction
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-21 08:54 EST by Eric Rizzo CLA
Modified: 2014-06-26 12:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Rizzo CLA 2007-11-21 08:54:28 EST
As seen in Bug 210255, there is often a need for an Action that calls AbstractTreeViewer.collapseAll(). There are several independent Action classes scattered around various internal packages that all do pretty much the same thing.
In the interest of avoiding "wheel re-invention" we should have a general-purpose CollapsAllAction in JFace that takes an AbstractTreeViewer (or just TreeViewer ?)
Bug 210255 has a patch that includes an Action that could be the basis for such a thing.