Rational Developer for Power Systems Software

Class PushSelectedDelegate

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

public class PushSelectedDelegate
extends RemoteAction

Implements the specialization of the abstract PushAction for the resources actually selected in the navigator.

Field Summary
static String copyright
Fields inherited from class com.ibm.etools.iseries.remotebuild.BuildActionDelegate
Constructor Summary
Method Summary
 void checkSelection()
          Checks the selection and enables this operation if appropriate.
protected  String getTaskName()
 RBStatus performAction(IProgressMonitor monitor)
           Performs the actual work of this operation.
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, getWorkbenchWindow, initialize, isCanceled, performAction, performPostActions, performPreActions, 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


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


public PushSelectedDelegate()
Method Detail


public void checkSelection()
Checks the selection and enables this operation if appropriate.

Specified by:
checkSelection in class BuildActionDelegate
See Also:


public RBStatus performAction(IProgressMonitor monitor)
Description copied from class: BuildActionDelegate

Performs the actual work of this operation. It is supplied a progress monitor. It can retrieve its structured selection using getSelection(). It can retrieve its project using getModelProject(). Any long running action should create a progress monitor from the context and periodically test the progress monitor and cancel if requested.

The action is cancelable and runs in the UI thread.

Actions are run only if the current status is OK and the action has not been canceled.

The default implementation does nothing. Subclasses should either override this or performAction().

performAction in class BuildActionDelegate


protected String getTaskName()
getTaskName in class BuildActionDelegate

Rational Developer for Power Systems Software

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.