ptolemy.vergil.modal
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.modal.StateController
- All Implemented Interfaces:
- NodeController
- Direct Known Subclasses:
- HierarchicalStateController, MatchResultViewer.MatchResultStateController, TransformationEditor.TransformationStateController, TransformEventController
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 8.0
- Version:
- $Id: StateController.java 57292 2010-02-23 03:07:47Z cxh $
- Author:
- Steve Neuendorffer and Edward A. Lee
- Accepted Rating:
- Proposed Rating:
Methods inherited from class ptolemy.vergil.basic.LocatableNodeController |
_drawChildren, _getCompositeFigure, _hide, _isPropertySet, _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 |
_editIconAction
protected StateController.EditIconAction _editIconAction
- The edit custom icon action.
_removeIconAction
protected StateController.RemoveIconAction _removeIconAction
- The remove custom icon action.
_iconsPendingContainer
private static java.util.Map _iconsPendingContainer
- Map used to keep track of icons that have been created
but not yet assigned to a container.
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.