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
*/
    private boolean isDisposed = false;
    
    /**
     * Constructs a new action builder which contributes actions
     * to the given window.
     * 
     * @param configurer the action bar configurer for the window
     */
    public WorkbenchActionBuilder(IActionBarConfigurer configurer) {
        super(configurer);
        window = configurer.getWindowConfigurer().getWindow();
    }
    /**
     * Returns the window to which this action builder is contributing.
     */
    private IWorkbenchWindow getWindow() {
        return window;
    }
    /**
     * Hooks listeners on the preference store and the window's page, perspective and selection services.
     */
    private void hookListeners() {
        pageListener = new IPageListener() {
            public void pageActivated(IWorkbenchPage page) {
                
            }
            public void pageClosed(IWorkbenchPage page) {
                
            }