Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.remotebuild.BuildActionDelegate
      extended by com.ibm.etools.iseries.remotebuild.styles.RemoteAction
Direct Known Subclasses:
Generate, PushChangesDelegate, PushSelectedDelegate, SubmitBuildAction

public abstract class RemoteAction
extends BuildActionDelegate

Implements an action delegate that will invoke an action on behalf of a project. The selection for this action may any number of resources associated with this project.


Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.iseries.remotebuild.BuildActionDelegate
Copyright
 
Constructor Summary
RemoteAction()
          Create a new action.
 
Method Summary
protected  SortedSet getMinimalCompletion(List resourceList)
          Returns a sorted set of of RBResources that minimally completes the list of RBResources that were supplied.
protected  void handleActionException(Exception e)
          Handles the exceptions that are raised during the performance of the action.
protected  boolean hasAnySavfSelection()
           
protected  boolean isConnectionValid()
          Checks the connection and issues a error if the connection is not valid.
protected  boolean selectionIsLocal()
          Tests a selection to ensure that all the objects contained in the selection correspond to resources in the local workspace.
protected  boolean selectionIsModelResource()
          Tests the selection to ensure that all the objects contained in the selection correspond to AbstractISeriesResources.
 
Methods inherited from class com.ibm.etools.iseries.remotebuild.BuildActionDelegate
checkDirtyEditors, checkSelection, getActivePart, getConnection, getModelProject, getModelProject, getModelProjects, getProject, getProjects, getSelection, getShell, getStatus, getTaskName, getWorkbenchWindow, initialize, isCanceled, performAction, 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

copyright

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

RemoteAction

public RemoteAction()
Create a new action.

Method Detail

selectionIsLocal

protected final boolean selectionIsLocal()
Tests a selection to ensure that all the objects contained in the selection correspond to resources in the local workspace. Selection cannot be empty.


selectionIsModelResource

protected final boolean selectionIsModelResource()
Tests the selection to ensure that all the objects contained in the selection correspond to AbstractISeriesResources. The selection cannot be empty.


getMinimalCompletion

protected final SortedSet getMinimalCompletion(List resourceList)
Returns a sorted set of of RBResources that minimally completes the list of RBResources that were supplied.


handleActionException

protected final void handleActionException(Exception e)
Handles the exceptions that are raised during the performance of the action.

Specified by:
handleActionException in class BuildActionDelegate

isConnectionValid

protected boolean isConnectionValid()
Checks the connection and issues a error if the connection is not valid. Returns true if the connection is OK, false if not. TODO: This will change for 6.0


hasAnySavfSelection

protected final boolean hasAnySavfSelection()
Returns:
true if the selection contains a save file; false otherwise.

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.