Bug 53327 [Progress] Second manual build should optionally cancel the first
M7 If you select a Rebuild All from the workbench this is now run in the background. If it is run again then the user should be prompted to cancel either the new one or the one running. We should also have a "don't ask me again" option.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/GlobalBuildAction.java
};
	
	buildJob.setRule(ResourcesPlugin.getWorkspace().getRuleFactory().buildRule());
	buildJob.schedule();
	
}
/**
 * Returns an array of all projects in the workspace
 */
 IProject[] getWorkspaceProjects() {
	return ResourcesPlugin.getWorkspace().getRoot().getProjects();
}
/* (non-Javadoc)
 * Method declared on IAction.
 * 
 * Builds all projects within the workspace. Saves
 * all editors prior to build depending on user's
 * preference.
 */
public void run() {
	if (workbenchWindow == null) {
		
		return;
	}
	
	IProject[] roots = getWorkspaceProjects();
	if (roots.length < 1)
		return;