Bug 30508 Package Viewer toolbar redraws on selection change [general issue]
I20030128 - in package viewer move selection with cursor down key Observe: on every selection change the navigator's toolbar (containing the triangle for the filter menu and the close box) is redrawn. On MacOS X this redraw is so slow that the selection change becomes really slow too. Note: both the resource navigator and the Java outliner don't have that problem (and are much faster).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerActionGroup.java
actionBars.setGlobalActionHandler(IWorkbenchActionConstants.FORWARD, fForwardAction);
		actionBars.setGlobalActionHandler(IWorkbenchActionConstants.UP, fUpAction);
		actionBars.setGlobalActionHandler(IWorkbenchActionConstants.GO_TO_RESOURCE, fGotoResourceAction);
		actionBars.setGlobalActionHandler(JdtActionConstants.GOTO_TYPE, fGotoTypeAction);
		actionBars.setGlobalActionHandler(JdtActionConstants.GOTO_PACKAGE, fGotoPackageAction);
	}
	 void fillToolBar(IToolBarManager toolBar) {
		toolBar.removeAll();
		
		toolBar.add(fBackAction);
		toolBar.add(fForwardAction);
		toolBar.add(fUpAction);
		
		if (showCompilationUnitChildren()) {
			toolBar.add(new Separator());
			fMemberFilterActionGroup.contributeToToolBar(toolBar);
		}
		toolBar.add(new Separator());
		toolBar.add(fCollapseAllAction);
	}
	
	 void fillViewMenu(IMenuManager menu) {
	
		menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
		menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS+"-end"));		
	}
	 void handleSelectionChanged(SelectionChangedEvent event) {
		fZoomInAction.update();
	}