Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.remotebuild.styles
Class SubmitBuildCommand

java.lang.Object
  extended by com.ibm.etools.iseries.remotebuild.BuildActionDelegate
      extended by com.ibm.etools.iseries.remotebuild.styles.RemoteAction
          extended by com.ibm.etools.iseries.remotebuild.styles.SubmitBuildAction
              extended by com.ibm.etools.iseries.remotebuild.styles.SubmitBuildCommand

public class SubmitBuildCommand
extends SubmitBuildAction

Submits the build command to the buildspace.


Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.iseries.remotebuild.styles.RemoteAction
copyright
 
Constructor Summary
SubmitBuildCommand()
          Constructor for this action.
 
Method Summary
 void checkSelection()
          Returns true if the "submit build" action is enabled.
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.styles.SubmitBuildAction
createJobTicketSource, push, submitBuild, updateArguments
 
Methods inherited from class com.ibm.etools.iseries.remotebuild.styles.RemoteAction
getMinimalCompletion, handleActionException, hasAnySavfSelection, isConnectionValid, selectionIsLocal, selectionIsModelResource
 
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
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

SubmitBuildCommand

public SubmitBuildCommand()
Constructor for this action.

Method Detail

checkSelection

public void checkSelection()
Returns true if the "submit build" action is enabled. All selections must be of the appropriate type and have a non-empty build command.

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

Rational Developer for Power Systems Software
V7.6

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.