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
this.buildType = type;
}
/**
 * Returns the shell to use.
 */
private Shell getShell() {
	return workbenchWindow.getShell();
}
/**
 * Returns the operation name to use
 */
private String getOperationMessage() {
	if (buildType == IncrementalProjectBuilder.INCREMENTAL_BUILD)
		return IDEWorkbenchMessages.getString("GlobalBuildAction.buildOperationTitle"); 
	else
		return IDEWorkbenchMessages.getString("GlobalBuildAction.rebuildAllOperationTitle"); 
}
/**
 * Builds all projects within the workspace. Does
 * not save any open editors.
 */
public void doBuild() {
	doBuildOperation();
}
/**
 * Invokes a build on all projects within the workspace.
 * Reports any errors with the build to the user.
 */
 void doBuildOperation() {