| org.eclipse.ui.actions.SelectionListenerAction org.eclipse.ui.actions.WorkspaceAction org.eclipse.ui.actions.BuildAction
BuildAction | public class BuildAction extends WorkspaceAction (Code) | | Standard actions for full and incremental builds of the selected project(s).
This class may be instantiated; it is not intended to be subclassed.
|
Constructor Summary | |
public | BuildAction(Shell shell, int type) Creates a new action of the appropriate type. |
ID_BUILD | final public static String ID_BUILD(Code) | | The id of an incremental build action.
|
ID_REBUILD_ALL | final public static String ID_REBUILD_ALL(Code) | | The id of a rebuild all action.
|
BuildAction | public BuildAction(Shell shell, int type)(Code) | | Creates a new action of the appropriate type. The action id is
ID_BUILD for incremental builds and ID_REBUILD_ALL
for full builds.
Parameters: shell - the shell for any dialogs Parameters: type - the type of build; one ofIncrementalProjectBuilder.INCREMENTAL_BUILD or IncrementalProjectBuilder.FULL_BUILD |
getActionResources | protected List getActionResources()(Code) | | |
getOperationMessage | protected String getOperationMessage()(Code) | | |
getProblemsMessage | protected String getProblemsMessage()(Code) | | |
getProjectsToBuild | List getProjectsToBuild()(Code) | | Returns the projects to build.
This contains the set of projects which have builders, across all selected resources.
|
hasBuilder | boolean hasBuilder(IProject project)(Code) | | Returns whether there are builders configured on the given project.
true if it has builders,false if not, or if this couldn't be determined |
invokeOperation | protected void invokeOperation(IResource resource, IProgressMonitor monitor) throws CoreException(Code) | | |
isEnabled | public boolean isEnabled()(Code) | | |
isSaveAllSet | public static boolean isSaveAllSet()(Code) | | Returns whether the user's preference is set to automatically save modified
resources before a manual build is done.
true if Save All Before Build is enabled |
shouldPerformResourcePruning | protected boolean shouldPerformResourcePruning()(Code) | | |
updateSelection | protected boolean updateSelection(IStructuredSelection s)(Code) | | The BuildAction implementation of this
SelectionListenerAction method ensures that this action is
enabled only if all of the selected resources have buildable projects.
|
|
|