Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.remotebuild.actions
Class ResourceAction

java.lang.Object
  extended by Action
      extended by com.ibm.etools.iseries.remotebuild.actions.RBAction
          extended by com.ibm.etools.iseries.remotebuild.actions.ResourceAction
Direct Known Subclasses:
CompileAction, PushAction, SelectCompileCommandAction, WorkWithCompileCommandsAction

public abstract class ResourceAction
extends RBAction

A ResourceAction is an action that takes place on a selection of AbstractISeriesResources.


Constructor Summary
ResourceAction()
           
 
Method Summary
protected  RBStatus connect(AbstractISeriesProject modelProject)
           
 IStructuredSelection getSelection()
           
 void setSelection(IStructuredSelection selection)
           
 
Methods inherited from class com.ibm.etools.iseries.remotebuild.actions.RBAction
getRunnableContext, getShell, getStatus, isCanceled, setCanceled, setRunnableContext, setShell, setStatus, showStatusMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceAction

public ResourceAction()
Method Detail

getSelection

public IStructuredSelection getSelection()
Returns:
the selection of resources that will be operated on by this action. If the selection has not been set, this will be the empty selection.

setSelection

public void setSelection(IStructuredSelection selection)
Parameters:
selection - the selection of AbstractISeriesResources that this action operates on.

connect

protected RBStatus connect(AbstractISeriesProject modelProject)

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.