ptolemy.vergil.fsm.modal
Class HierarchicalStateController
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
ptolemy.vergil.fsm.modal.HierarchicalStateController
- All Implemented Interfaces:
- diva.graph.NodeController
- public class HierarchicalStateController
- extends ptolemy.vergil.fsm.StateController
This class provides interaction with nodes that represent hierarchical
states in an FSM graph. Hierarchical states are those with refinements,
and what this adds to the base class is the ability to add a new
refinement or remove a refinement via a context menu command.
The base class provides a double click binding to edit the parameters
of the state, and context menu commands to edit parameters ("Configure"),
rename, look inside, and get documentation.
- Since:
- Ptolemy II 2.0
- Version:
- $Id: HierarchicalStateController.java,v 1.22 2004/04/13 05:12:50 cxh Exp $
- Author:
- Edward A. Lee
- Accepted Rating:
- Proposed Rating:
| Nested classes inherited from class ptolemy.vergil.fsm.StateController |
ptolemy.vergil.fsm.StateController.StateRenderer |
| Nested classes inherited from class ptolemy.vergil.kernel.AttributeController |
ptolemy.vergil.kernel.AttributeController.Access |
| Nested classes inherited from class ptolemy.vergil.basic.IconController |
ptolemy.vergil.basic.IconController.IconRenderer |
| Nested classes inherited from class ptolemy.vergil.basic.NamedObjController |
ptolemy.vergil.basic.NamedObjController.GetDocumentationAction |
| Fields inherited from class ptolemy.vergil.fsm.StateController |
_lookInsideAction |
| Fields inherited from class ptolemy.vergil.kernel.AttributeController |
FULL, PARTIAL |
| Fields inherited from class ptolemy.vergil.basic.ParameterizedNodeController |
_configureAction, _menuCreator, _menuFactory |
| Fields inherited from class ptolemy.vergil.basic.NamedObjController |
_configuration |
| Fields inherited from class ptolemy.vergil.basic.LocatableNodeController |
CLASS_ELEMENT_HIGHLIGHT_COLOR |
|
Constructor Summary |
HierarchicalStateController(diva.graph.GraphController controller)
Create a state controller associated with the specified graph
controller. |
HierarchicalStateController(diva.graph.GraphController controller,
ptolemy.vergil.kernel.AttributeController.Access access)
Create a state controller associated with the specified graph
controller. |
| Methods inherited from class ptolemy.vergil.fsm.StateController |
setConfiguration |
| Methods inherited from class ptolemy.vergil.basic.LocatableNodeController |
_drawChildren, _hide, _renderNode, addNode, drawNode, getLocation, hasLocation, locateFigure, setLocation, setSnapResolution |
| 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 |
HierarchicalStateController
public HierarchicalStateController(diva.graph.GraphController controller)
- Create a state controller associated with the specified graph
controller.
- Parameters:
controller - The associated graph controller.
HierarchicalStateController
public HierarchicalStateController(diva.graph.GraphController controller,
ptolemy.vergil.kernel.AttributeController.Access access)
- Create a state controller associated with the specified graph
controller.
- Parameters:
controller - The associated graph controller.access - The access level.