Bug 53565 Improve manual builds
Entering to track improvments to the manual (i.e. non-automatic) builds. We propose to make the build story more useful by providing "targeted builds" which have the flavor of make (or Ant) builds where the user says what projects they want to end up with in a "built" state and letting the system figure out what set of prerequisite projects need to be taken into account. By allowing the user to tell us which project(s) are important to them, we give them a powerful tool to control how much work gets done when they say "build".
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/BuildAction.java
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.swt.widgets.Shell;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
/**
 * Standard actions for full and incremental builds of the selected project(s).
 * <p>
 * This class may be instantiated; it is not intended to be subclassed.
 * </p>
 */
public class BuildAction extends WorkspaceAction {
	
	/**
	 * The id of an incremental build action.
	 */
	public static final String ID_BUILD = PlatformUI.PLUGIN_ID + ".BuildAction";
	
	/**
	 * The id of a rebuild all action.
	 */
	public static final String ID_REBUILD_ALL = PlatformUI.PLUGIN_ID + ".RebuildAllAction";
	private int	buildType;
	
	/**
	 * The list of IProjects to build (computed lazily).
	 */
	private List	projectsToBuild = null;