IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.automaton.ext.client
Class OpenView

java.lang.Object
  extended bycom.ibm.dse.base.DSENotifier
      extended bycom.ibm.dse.automaton.DSEAction
          extended bycom.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

Field Summary
 
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)
          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 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
 
Methods inherited from interface com.ibm.dse.automaton.Action
getName, setName
 
Methods inherited from interface com.ibm.dse.base.Notifier
addHandler, getHandlersList, removeHandler, signalEvent, signalEvent, terminate
 
Methods inherited from interface com.ibm.dse.base.Externalizable
getName, setName
 

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)
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

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005