Bug 210528

Summary: [Commands] [JFace] Provide a reusable CollapseAllAction
Product: [Eclipse Project] Platform Reporter: Eric Rizzo <eclipse-bugs>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: mistria
Version: 3.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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.