Bug 85587 [IDE] Save before clean all
The test plan for Platform UI states that a build should prompt to save unsaved resources. However, when we "clean all", no such prompt appears. Should it?
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/actions/BuildUtilities.java
if (file != null) {
					selected = new IProject[] { file.getProject() };
                }
			}
		}
		if (selected == null)
			selected = new IProject[0];
		return selected;
	}
	/**
	 * Returns whether a build command with the given trigger should
	 * be enabled for the given selection.
	 * @param projects The projects to use to determine enablement
	 * @param trigger The build trigger (<code>IncrementalProjectBuilder.*_BUILD</code> constants).
	 * @return <code>true</code> if the action should be enabled, and
	 * <code>false</code> otherwise.
	 */
	public static boolean isEnabled(IProject[] projects, int trigger) {
		
		if (trigger == IncrementalProjectBuilder.INCREMENTAL_BUILD && ResourcesPlugin.getWorkspace().isAutoBuilding()) {
			if (!matchingTrigger(projects, IncrementalProjectBuilder.AUTO_BUILD, false))
				return false;
		}
		
		return matchingTrigger(projects, trigger, true);
	}
	/**
	 * Returns whether one of the projects has a builder whose trigger setting
	 * for the given trigger matches the given value.
	 *