com.ibm.dse.automaton.ext
Class OpenView

java.lang.Object
  |
  +--com.ibm.dse.base.DSENotifier
        |
        +--com.ibm.dse.automaton.DSEAction
              |
              +--com.ibm.dse.automaton.ext.OpenView

public class OpenView
extends DSEAction

This class provides the behaviour for a sample DSEAction to open a view in the Desktop.

See Also:
Serialized Form

Fields inherited from class com.ibm.dse.automaton.DSEAction
context, inputMapFmtTag, operationTag, outputMapFmtTag, sourceEvent, tag
 
Fields inherited from class com.ibm.dse.base.DSENotifier
handlersList, name
 
Constructor Summary
OpenView()
          Creates an object of type OpenView.
OpenView(boolean mustRegister)
          Creates an object of type OpenView.
OpenView(java.lang.String aName)
          Creates an object of type OpenView.
OpenView(java.lang.String aName, java.lang.String aTID)
          Creates an object of type OpenView.
 
Method Summary
protected  int determineNavInt(java.lang.String navigationParam)
          This method determines if the navigation is peer or child.
 void execute()
          This method opens a view using the navigation controller available in the context of the processor.
 
Methods inherited from class com.ibm.dse.automaton.DSEAction
chainOrAssignContext, chainOrAssignContext, close, close, evaluateGuardCondition, externalizer, getContext, getGuardConditions, getInputMapFmtTag, getOperationTag, getOutputMapFmtTag, getParms, getProcessor, getSourceEvent, initializeFrom, mapTheInput, mapTheOutput, preProcess, readExternal, readExternal, removeExternal, setContext, setGuardConditions, setInputMapFmtTag, setOperationTag, setOutputMapFmtTag, setParms, setProcessor, setSourceEvent, toString, toStrings, toTags, writeExternal, writeExternal
 
Methods inherited from class com.ibm.dse.base.DSENotifier
addHandler, getHandlersList, getName, removeHandler, setName, signalEvent, signalEvent, signalEvent, terminate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpenView

public OpenView()
Creates an object of type OpenView.

OpenView

public OpenView(java.lang.String aName)
Creates an object of type OpenView.
Parameters:
aName - java.lang.String

OpenView

public OpenView(java.lang.String aName,
                java.lang.String aTID)
Creates an object of type OpenView.
Parameters:
aName - java.lang.String
aTID - java.lang.String

OpenView

public OpenView(boolean mustRegister)
Creates an object of type OpenView.
Parameters:
mustRegister - boolean
Method Detail

determineNavInt

protected int determineNavInt(java.lang.String navigationParam)
This method determines if the navigation is peer or child.
Parameters:
navigationParam - java.lang.String
Returns:
int.Indicating the navigation

execute

public void execute()
This method opens a view using the navigation controller available in the context of the processor. Then the hashtable of parameters for the action are read in for their values: the view's name, the navigation mode (i.e. open the view as a peer or a child of the active panel), the context to link to, and the input mapping format (for copying data from the action context to the panel context).
Overrides:
execute in class DSEAction
Tags copied from class: DSEAction
Throws:
java.lang.Exception - The implementor of this class must decide when to throw an exception occurred to the automaton.