ptolemy.vergil.fsm
Class StateController
java.lang.Object
diva.graph.BasicNodeController
ptolemy.vergil.basic.LocatableNodeController
ptolemy.vergil.basic.NamedObjController
ptolemy.vergil.basic.ParameterizedNodeController
ptolemy.vergil.basic.IconController
ptolemy.vergil.kernel.AttributeController
ptolemy.vergil.fsm.StateController
- All Implemented Interfaces:
- NodeController
- Direct Known Subclasses:
- HierarchicalStateController
- public class StateController
- extends AttributeController
This class provides interaction with nodes that represent states in an
FSM graph. It provides a double click binding to edit the parameters
of the state, and a context menu containing a commands to edit parameters
("Configure"), rename, get documentation, and look inside. The looks
inside command opens the refinement of the state, if it exists.
- Since:
- Ptolemy II 2.0
- Version:
- $Id: StateController.java,v 1.19.2.1 2004/06/18 00:49:29 cxh Exp $
- Author:
- Steve Neuendorffer and Edward A. Lee
- Accepted Rating:
- Proposed Rating:
|
Field Summary |
protected ptolemy.vergil.fsm.StateController.LookInsideAction |
_lookInsideAction
The action that handles look inside. |
| Methods inherited from class diva.graph.BasicNodeController |
addNode, addNode, addNode, clearNode, drawNode, getController, getNodeInteractor, getNodeRenderer, removeNode, setNodeInteractor, setNodeRenderer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_lookInsideAction
protected ptolemy.vergil.fsm.StateController.LookInsideAction _lookInsideAction
- The action that handles look inside. This is accessed by
by ActorViewerController to create a hot key for the editor.
StateController
public StateController(GraphController controller)
- Create a state controller associated with the specified graph
controller.
- Parameters:
controller - The associated graph controller.
StateController
public StateController(GraphController controller,
AttributeController.Access access)
- Create a state controller associated with the specified graph
controller.
- Parameters:
controller - The associated graph controller.access - The access level.
setConfiguration
public void setConfiguration(Configuration configuration)
- Set the configuration. This is used to open documentation files.
- Overrides:
setConfiguration in class NamedObjController
- Parameters:
configuration - The configuration.