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
private boolean linkScheduled = false;
    
    
    private static final String TAG_SORTER = "sorter"; 
    private static final String TAG_FILTERS = "filters"; 
    private static final String TAG_FILTER = "filter"; 
    private static final String TAG_SELECTION = "selection"; 
    private static final String TAG_EXPANDED = "expanded"; 
    private static final String TAG_ELEMENT = "element"; 
    private static final String TAG_IS_ENABLED = "isEnabled"; 
    private static final String TAG_PATH = "path"; 
    private static final String TAG_CURRENT_FRAME = "currentFrame"; 
    private IPartListener partListener = new IPartListener() {
        public void partActivated(IWorkbenchPart part) {
            if (part instanceof IEditorPart) {
				editorActivated((IEditorPart) part);
			}
        }
        public void partBroughtToTop(IWorkbenchPart part) {
        }
        public void partClosed(IWorkbenchPart part) {
        }
        public void partDeactivated(IWorkbenchPart part) {
        }
        public void partOpened(IWorkbenchPart part) {
        }
    };
    private IPropertyChangeListener propertyChangeListener = new IPropertyChangeListener() {
        public void propertyChange(PropertyChangeEvent event) {
            String property = event.getProperty();