Bug 46934 [RCP] [CoolBar] Toolbar is missing build action
I20031119 The toolbar is missing the build action. See attached screen shot
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/actions/BuildContributionItem.java
/**
	 * Create the incremental build contribution item
	 */
	public BuildContributionItem(IAction action, IWorkbenchWindow window) {
		super(action);
		
		if (window == null) {
			throw new IllegalArgumentException();
		}
		this.window = window;
		
		setVisible(ResourcesPlugin.getWorkspace().isAutoBuilding());
		ResourcesPlugin.getPlugin().getPluginPreferences().addPropertyChangeListener(prefListener);
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.action.IContributionItem#isVisible()
	 */
	public boolean isVisible() {
		
		return super.isVisible() && !ResourcesPlugin.getWorkspace().isAutoBuilding();
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.action.IContributionItem#dispose()
	 */
	public void dispose() {
		super.dispose();
		ResourcesPlugin.getPlugin().getPluginPreferences().removePropertyChangeListener(prefListener);
	}
}