Bug 77871 [GlobalActions] (Re)Build Project should track resources itself
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDEActionFactory.java
IDEWorkbenchMessages.getString("Workbench.addBookmark")); 
            action.setToolTipText(IDEWorkbenchMessages
                    .getString("Workbench.addBookmarkToolTip")); 
            window.getPartService().addPartListener(action);
            action.setActionDefinitionId("org.eclipse.ui.edit.addBookmark"); 
            return action;
        }
    };
    /**
     * IDE-specific workbench action: Incremental build.
     * This action maintains its enablement state.
     */
    public static final ActionFactory BUILD = new ActionFactory("build") { 
        
        public IWorkbenchAction create(IWorkbenchWindow window) {
            if (window == null) {
                throw new IllegalArgumentException();
            }
            return new GlobalBuildAction(window,
                    IncrementalProjectBuilder.INCREMENTAL_BUILD);
        }
    };
    /**
     * IDE-specific workbench action: Build clean
     * This action maintains its enablement state.
     */
    public static final ActionFactory BUILD_CLEAN = new ActionFactory(
            "buildClean") { 
        
        public IWorkbenchAction create(IWorkbenchWindow window) {