Package ptolemy.vergil.gt
Class MatchResultViewer.MatchResultFSMGraphController
- java.lang.Object
-
- diva.graph.AbstractGraphController
-
- ptolemy.vergil.basic.BasicGraphController
-
- ptolemy.vergil.basic.WithIconGraphController
-
- ptolemy.vergil.basic.RunnableGraphController
-
- ptolemy.vergil.modal.FSMViewerGraphController
-
- ptolemy.vergil.modal.FSMGraphController
-
- ptolemy.vergil.gt.MatchResultViewer.MatchResultFSMGraphController
-
- All Implemented Interfaces:
GraphController
,ExecutionListener
,DebugListener
,ValueListener
- Enclosing class:
- MatchResultViewer
protected class MatchResultViewer.MatchResultFSMGraphController extends FSMGraphController
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ptolemy.vergil.modal.FSMGraphController
FSMGraphController.LinkCreator, FSMGraphController.NewStateAction
-
Nested classes/interfaces inherited from class ptolemy.vergil.basic.WithIconGraphController
WithIconGraphController.NewPortAction
-
Nested classes/interfaces inherited from class ptolemy.vergil.basic.BasicGraphController
BasicGraphController.OpenBaseClassAction, BasicGraphController.SchematicContextMenuFactory, BasicGraphController.UnitSolverDialogAction
-
-
Field Summary
-
Fields inherited from class ptolemy.vergil.modal.FSMViewerGraphController
_attributeController, _modalTransitionController, _stateController, _transitionController
-
Fields inherited from class ptolemy.vergil.basic.WithIconGraphController
_editIconAction, _portController, _removeIconAction
-
Fields inherited from class ptolemy.vergil.basic.BasicGraphController
_animated, _animationRenderer, _configureAction, _configureMenuFactory, _menuCreator, _menuFactory, _openBaseClassAction, _unitSolverDialogAction
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MatchResultFSMGraphController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
_createControllers()
Create the controllers for nodes in this graph.Figure
drawNode(java.lang.Object node)
Draw the given node: create a figure, place it in the canvas, and associate the figure with the node.-
Methods inherited from class ptolemy.vergil.modal.FSMGraphController
_initializeInteraction, addToMenuAndToolbar, initializeInteraction, setConfiguration
-
Methods inherited from class ptolemy.vergil.modal.FSMViewerGraphController
_addHotKeys, event, getEdgeController, getNodeController
-
Methods inherited from class ptolemy.vergil.basic.RunnableGraphController
_getManager, _report, _report, executionError, executionFinished, managerStateChanged
-
Methods inherited from class ptolemy.vergil.basic.WithIconGraphController
getNewPortLocation
-
Methods inherited from class ptolemy.vergil.basic.BasicGraphController
_areThereActiveErrorHighlights, _getClearAllErrorHighlightsChangeRequest, clearAllErrorHighlights, clearAnimation, getAnimationDelay, getConfiguration, getConfigureMenuFactory, getFrame, highlightError, message, setAnimationDelay, setFigure, setFrame, valueChanged
-
Methods inherited from class diva.graph.AbstractGraphController
addEdge, addEdge, addGraphViewListener, addNode, addNode, addNode, addNode, clear, clearEdge, clearNode, dispatch, drawEdge, drawNode, getFigure, getGraphModel, getGraphPane, getSelectionModel, removeEdge, removeGraphViewListener, removeNode, rerender, rerenderEdge, rerenderNode, setGraphModel, setGraphPane, setSelectionModel
-
-
-
-
Method Detail
-
drawNode
public Figure drawNode(java.lang.Object node)
Description copied from class:AbstractGraphController
Draw the given node: create a figure, place it in the canvas, and associate the figure with the node. This should only be called when the object is in the model but does not yet have a figure associated with it. The location of the figure should be set if some location is appropriate for it.- Specified by:
drawNode
in interfaceGraphController
- Overrides:
drawNode
in classAbstractGraphController
-
_createControllers
protected void _createControllers()
Description copied from class:FSMGraphController
Create the controllers for nodes in this graph. In this class, controllers with FULL access are created. This is called by the constructor, so derived classes that override this must be careful not to reference local variables defined in the derived classes, because the derived classes will not have been fully constructed by the time this is called.- Overrides:
_createControllers
in classFSMGraphController
-
-