Bug 94047 [ActionSets] [classpath] Toolbar shudders when opening the Classpath Variables preference page
Version: 3.1.0 Build id: I20050506-1600 When you open the Classpath Variables preference page from an empty workspace (only minimal plugins activated) the toolbar shudders as if components are quickly being added and removed. The preference page is causing the activation of quite a few plugins (Ant UI, JDT JUnit, JDT Launching, PDE and PDE core). I don't think any of these plugins contribute actions to the toolbar of my current perspective (could be wrong though).
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
}
        }
        return false;
	}
	/**
     * Update the build actions on the toolbar and menu bar based on the 
     * current state of autobuild.  This method can be called from any thread.
     */
    void updateBuildActions() {
        
        Runnable update = new Runnable() {
            public void run() {
                if (isDisposed)
                	return;
		    	IWorkspace workspace = ResourcesPlugin.getWorkspace();
				IProject[] projects = workspace.getRoot().getProjects();
		    	boolean enabled = BuildUtilities.isEnabled(projects, IncrementalProjectBuilder.INCREMENTAL_BUILD);
		        
		        buildAllAction.setEnabled(enabled);
		        buildProjectAction.setEnabled(enabled);
		        toggleAutoBuildAction.setChecked(workspace.isAutoBuilding());
		        cleanAction.setEnabled(BuildUtilities.isEnabled(projects, IncrementalProjectBuilder.CLEAN_BUILD));
		
		        
		        ICoolBarManager coolBarManager = getActionBarConfigurer()
		                .getCoolBarManager();
		        IContributionItem cbItem = coolBarManager
		                .find(IWorkbenchActionConstants.TOOLBAR_FILE);
		        if (!(cbItem instanceof ToolBarContributionItem)) {