| org.eclipse.ui.actions.GlobalBuildAction
GlobalBuildAction | public class GlobalBuildAction extends Action implements ActionFactory.IWorkbenchAction(Code) | | Standard action for full and incremental builds of all projects within the
workspace.
This class may be instantiated; it is not intended to be subclassed.
|
Constructor Summary | |
public | GlobalBuildAction(IWorkbench workbench, Shell shell, int type) Creates a new action of the appropriate type. | public | GlobalBuildAction(IWorkbenchWindow window, int type) Creates a new action of the appropriate type. |
GlobalBuildAction | public GlobalBuildAction(IWorkbench workbench, Shell shell, int type)(Code) | | Creates a new action of the appropriate type. The action id is
IWorkbenchActionConstants.BUILD for incremental builds and
IWorkbenchActionConstants.REBUILD_ALL for full builds.
Parameters: workbench - the active workbench Parameters: shell - the shell for any dialogs Parameters: type - the type of build; one ofIncrementalProjectBuilder.INCREMENTAL_BUILD orIncrementalProjectBuilder.FULL_BUILD |
GlobalBuildAction | public GlobalBuildAction(IWorkbenchWindow window, int type)(Code) | | Creates a new action of the appropriate type. The action id is
IWorkbenchActionConstants.BUILD for incremental builds and
IWorkbenchActionConstants.REBUILD_ALL for full builds.
Parameters: window - the window in which this action appears Parameters: type - the type of build; one ofIncrementalProjectBuilder.INCREMENTAL_BUILD orIncrementalProjectBuilder.FULL_BUILD |
dispose | public void dispose()(Code) | | |
doBuild | public void doBuild()(Code) | | Builds all projects within the workspace. Does not save any open editors.
|
doBuildOperation | void doBuildOperation()(Code) | | Invokes a build on all projects within the workspace. Reports any errors
with the build to the user.
|
getWorkspaceProjects | IProject[] getWorkspaceProjects()(Code) | | Returns an array of all projects in the workspace
|
verifyBuildersAvailable | boolean verifyBuildersAvailable(IProject[] roots)(Code) | | Checks that there is at least one project with a builder registered on
it.
|
|
|