Bug 168757 [KeyBindings] Add keybinding for 'collapse all' button in Navigator & Package Explorer
Just a nice to have - would be very handy to assign something like CTRL-minus to the 'collapse all' button in Navigator and Package Explorer views (really, anything w/ a tree view and than button).
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/ResourceNavigator.java
* @since 2.0
     */
    public IWorkingSet getWorkingSet() {
        return workingSetFilter.getWorkingSet();
    }
    /**
     * Returns the navigator's plugin.
     * @return the UI plugin for this bundle
     */
    public AbstractUIPlugin getPlugin() {
        return IDEWorkbenchPlugin.getDefault();
    }
    /**
     * Return the sorter.
     * 
     * @since 2.0
     * @deprecated as of 3.3, use {@link ResourceNavigator#getComparator()}
     */
    public ResourceSorter getSorter() {
        return (ResourceSorter) getTreeViewer().getSorter();
    }
    /**
     * Returns the comparator.
     * 
     * @return the <code>ResourceComparator</code>
     * @since 3.3
     */
    public ResourceComparator getComparator(){
    	return (ResourceComparator) getTreeViewer().getComparator();
    }