public class FSMGraphController extends FSMViewerGraphController
Modifier and Type | Class and Description |
---|---|
protected class |
FSMGraphController.LinkCreator
An interactor that interactively drags edges from one terminal
to another.
|
class |
FSMGraphController.NewStateAction
An action to create a new state.
|
WithIconGraphController.NewPortAction
BasicGraphController.OpenBaseClassAction, BasicGraphController.SchematicContextMenuFactory, BasicGraphController.UnitSolverDialogAction
_attributeController, _modalTransitionController, _stateController, _transitionController
_editIconAction, _portController, _removeIconAction
_animated, _animationRenderer, _configureAction, _configureMenuFactory, _menuCreator, _menuFactory, _openBaseClassAction, _unitSolverDialogAction
Constructor and Description |
---|
FSMGraphController()
Create a new basic controller with default
terminal and edge interactors.
|
Modifier and Type | Method and Description |
---|---|
protected void |
_createControllers()
Create the controllers for nodes in this graph.
|
protected void |
_initializeInteraction(NamedObjController controller)
Initialize interactions for the specified controller.
|
void |
addToMenuAndToolbar(javax.swing.JMenu menu,
javax.swing.JToolBar toolbar)
Add commands to the specified menu and toolbar, as appropriate
for this controller.
|
protected void |
initializeInteraction()
Initialize interaction on the graph pane.
|
void |
setConfiguration(Configuration configuration)
Set the configuration.
|
_addHotKeys, event, getEdgeController, getNodeController
_getManager, _report, _report, executionError, executionFinished, managerStateChanged
getNewPortLocation
_areThereActiveErrorHighlights, _getClearAllErrorHighlightsChangeRequest, 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
public FSMGraphController()
public void addToMenuAndToolbar(javax.swing.JMenu menu, javax.swing.JToolBar toolbar)
addToMenuAndToolbar
in class RunnableGraphController
menu
- The menu to add to, or null if none.toolbar
- The toolbar to add to, or null if none.public void setConfiguration(Configuration configuration)
setConfiguration
in class FSMViewerGraphController
configuration
- The configuration.BasicGraphController.getConfiguration()
protected void _createControllers()
_createControllers
in class FSMViewerGraphController
protected void initializeInteraction()
initializeInteraction
in class FSMViewerGraphController
protected void _initializeInteraction(NamedObjController controller)
_initializeInteraction
in class BasicGraphController
controller
- The controller for which to initialize interaction.