public class FSMViewerGraphController extends RunnableGraphController
Red (johnr) |
Red (eal) |
WithIconGraphController.NewPortAction
BasicGraphController.OpenBaseClassAction, BasicGraphController.SchematicContextMenuFactory, BasicGraphController.UnitSolverDialogAction
Modifier and Type | Field and Description |
---|---|
protected NamedObjController |
_attributeController
The attribute controller.
|
protected TransitionController |
_modalTransitionController
The modal transition controller.
|
protected StateController |
_stateController
The state controller.
|
protected TransitionController |
_transitionController
The transition controller.
|
_editIconAction, _portController, _removeIconAction
_animated, _animationRenderer, _configureAction, _configureMenuFactory, _menuCreator, _menuFactory, _openBaseClassAction, _unitSolverDialogAction
Constructor and Description |
---|
FSMViewerGraphController()
Create a new controller with default port, state, and transition
controllers.
|
Modifier and Type | Method and Description |
---|---|
protected void |
_addHotKeys(JGraph jgraph)
Add hot keys to the actions in the given JGraph.
|
protected void |
_createControllers()
Create the controllers for nodes in this graph.
|
void |
event(DebugEvent event)
React to an event by highlighting the new state.
|
EdgeController |
getEdgeController(java.lang.Object edge)
Return the edge controller appropriate for the given node.
|
NodeController |
getNodeController(java.lang.Object object)
Return the node controller appropriate for the given node.
|
protected void |
initializeInteraction()
Initialize all interaction on the graph pane.
|
void |
setConfiguration(Configuration configuration)
Set the configuration.
|
_getManager, addToMenuAndToolbar, executionError, executionFinished, managerStateChanged
getNewPortLocation
_areThereActiveErrorHighlights, _getClearAllErrorHighlightsChangeRequest, _initializeInteraction, clearAllErrorHighlights, clearAnimation, getAnimationDelay, getConfiguration, getConfigureMenuFactory, getFrame, highlightError, message, setAnimationDelay, setFigure, setFrame, valueChanged
addEdge, addEdge, addGraphViewListener, addNode, addNode, addNode, addNode, clear, clearEdge, clearNode, dispatch, drawEdge, drawNode, drawNode, getFigure, getGraphModel, getGraphPane, getSelectionModel, removeEdge, removeGraphViewListener, removeNode, rerender, rerenderEdge, rerenderNode, setGraphModel, setGraphPane, setSelectionModel
protected NamedObjController _attributeController
protected StateController _stateController
protected TransitionController _transitionController
protected TransitionController _modalTransitionController
public FSMViewerGraphController()
public void event(DebugEvent event)
event
in interface DebugListener
event
in class BasicGraphController
event
- The debug event.public NodeController getNodeController(java.lang.Object object)
getNodeController
in interface GraphController
getNodeController
in class BasicGraphController
object
- The object to get a controller for.public EdgeController getEdgeController(java.lang.Object edge)
getEdgeController
in interface GraphController
getEdgeController
in class AbstractGraphController
public void setConfiguration(Configuration configuration)
setConfiguration
in class WithIconGraphController
configuration
- The configuration.BasicGraphController.getConfiguration()
protected void _addHotKeys(JGraph jgraph)
_addHotKeys
in class RunnableGraphController
jgraph
- The JGraph to which hot keys are to be added.protected void _createControllers()
_createControllers
in class WithIconGraphController
protected void initializeInteraction()
initializeInteraction
in class WithIconGraphController