com.ibm.dse.automaton.ext.client
Class OpenView
java.lang.Object
com.ibm.dse.base.DSENotifier
com.ibm.dse.automaton.DSEAction
com.ibm.dse.automaton.ext.client.OpenView
- All Implemented Interfaces:
- Action, Externalizable, java.io.Externalizable, Notifier, java.io.Serializable
- public class OpenView
- extends DSEAction
This class provides the behavior for a sample DSEAction to open a view in the
Desktop.
- See Also:
- Serialized Form
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)
Determines if the navigation is peer or child. |
void |
execute()
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.StringaTID
- java.lang.String
OpenView
public OpenView(boolean mustRegister)
- Creates an object of type OpenView.
- Parameters:
mustRegister
- boolean
determineNavInt
protected int determineNavInt(java.lang.String navigationParam)
- Determines if the navigation is peer or child.
- Parameters:
navigationParam
- java.lang.String
- Returns:
- int.Indicating the navigation
execute
public void execute()
- Opens a view using the navigation controller available in the context
of the processor. This method then reads the Hashtable of the action's parameters for
their values: the view's name, the navigation mode (that is, 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).
- Specified by:
execute
in interface Action
- Specified by:
execute
in class DSEAction
(c) Copyright IBM Corporation 1998, 2005