com.ibm.etools.iseries.remotebuild.styles
Class SubmitBuildProgram
java.lang.Object
com.ibm.etools.iseries.remotebuild.BuildActionDelegate
com.ibm.etools.iseries.remotebuild.styles.RemoteAction
com.ibm.etools.iseries.remotebuild.styles.SubmitBuildAction
com.ibm.etools.iseries.remotebuild.styles.SubmitBuildProgram
public class SubmitBuildProgram
- extends SubmitBuildAction
Submits the build command to the buildspace.
Method Summary |
void |
checkSelection()
Sets the enabled state of the "submit build" action. |
protected RBStatus |
performAction(IProgressMonitor monitor)
Performs the action portion of the runnable. |
protected void |
performPreActions(IProgressMonitor monitor)
Performs the PreActions of this operation. |
Methods inherited from class com.ibm.etools.iseries.remotebuild.BuildActionDelegate |
checkDirtyEditors, getActivePart, getConnection, getModelProject, getModelProject, getModelProjects, getProject, getProjects, getSelection, getShell, getStatus, getTaskName, getWorkbenchWindow, initialize, isCanceled, performAction, performPostActions, run, runWorkspaceOperation, selectionChanged, selectionIsProject, selectionIsProjects, setActivePart, setCanceled, setEnabled, showStatusMessage, showSystemMessage, showSystemMessageInUI, terminate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
SubmitBuildProgram
public SubmitBuildProgram()
- Constructor for this action.
checkSelection
public void checkSelection()
- Sets the enabled state of the "submit build" action.
The selection must belong to one project.
Either autogenerate must be on or there must be a COMPILE member in
the build source file.
- Specified by:
checkSelection
in class BuildActionDelegate
performPreActions
protected void performPreActions(IProgressMonitor monitor)
- Performs the PreActions of this operation.
- Overrides:
performPreActions
in class BuildActionDelegate
- See Also:
BuildActionDelegate.run(IAction)
performAction
protected RBStatus performAction(IProgressMonitor monitor)
- Performs the action portion of the runnable. It is supplied a progress
monitor. It can retrieve its structured selection using getSelection().
It can retrieve its project using getProject().
- Overrides:
performAction
in class BuildActionDelegate
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.