Bug 28508 [Dialogs] build-all should not bring up a progress monitor
20021216 it should use the status bas - the dialog is way too distracting on motif, the whole thing flashes a lot too
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/GlobalBuildAction.java
getShell(),
			IDEWorkbenchMessages.getString("GlobalBuildAction.problemTitle"), 
			null, 
			status);
	}
}
/**
 * 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;