Project: Eclipse_Platform_UI
Bug 153315 [Contributions] The ToggleAutoBuildAction lacks an action definition id
Reported: 2006-08-09 11:53:14 | Status: verified fixed

Because the ToggleAutoBuildAction lacks an action definition id we can not use activities to hide this from the project menu. We found that adding one fixes this problem: public ToggleAutoBuildAction(IWorkbenchWindow window) { super(IDEWorkbenchMessages.Workbench_buildAutomatically); this.window = window; setChecked(ResourcesPlugin.getWorkspace().isAutoBuilding()); setActionDefinitionId("org.eclipse.ui.project.buildAutomatically"); //$NON-NLS-1$ }

Files changed in fix:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDEActionFactory.java