Rational Developer for Power Systems Software
V7.6

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

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.SubmitBuildProgram

public class SubmitBuildProgram
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
SubmitBuildProgram()
          Constructor for this action.
 
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.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

SubmitBuildProgram

public SubmitBuildProgram()
Constructor for this action.

Method Detail

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

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.