Bug 93796 [Help] Help menu cleanup
As per the polish dynamic team call, Help menu should be cleaned up to look like this: Welcome ------ Help Contents Search Dynamic Help ------ Key Assist Tips and Tricks... Cheat Sheets... ----- Software Updates -> Find and Install... Manage Configuration ----- About Eclipse Platform
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
* 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) {
                
            }
            public void pageOpened(IWorkbenchPage page) {
                
                IAction buildHandler = new BuildAction(page.getWorkbenchWindow().getShell(), IncrementalProjectBuilder.INCREMENTAL_BUILD);
            	((RetargetActionWithDefault)buildProjectAction).setDefaultHandler(buildHandler);
            }
        };
        getWindow().addPageListener(pageListener);
        prefListener = new Preferences.IPropertyChangeListener() {
            public void propertyChange(Preferences.PropertyChangeEvent event) {
                if (event.getProperty().equals(
                        ResourcesPlugin.PREF_AUTO_BUILDING)) {
                   	updateBuildActions();
                }
            }