Package ptolemy.vergil.gt
Class GTFrameController.GTFSMGraphModel
- java.lang.Object
-
- diva.graph.AbstractGraphModel
-
- diva.graph.modular.ModularGraphModel
-
- ptolemy.vergil.basic.AbstractBasicGraphModel
-
- ptolemy.vergil.modal.FSMGraphModel
-
- ptolemy.vergil.gt.GTFrameController.GTFSMGraphModel
-
- All Implemented Interfaces:
GraphModel
,ChangeListener
,GTFrameController.UpdateController
- Enclosing class:
- GTFrameController
public static class GTFrameController.GTFSMGraphModel extends FSMGraphModel implements GTFrameController.UpdateController
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ptolemy.vergil.modal.FSMGraphModel
FSMGraphModel.ArcModel, FSMGraphModel.PortModel, FSMGraphModel.StateModel
-
-
Field Summary
-
Fields inherited from class diva.graph.AbstractGraphModel
_graphListeners
-
-
Constructor Summary
Constructors Constructor Description GTFSMGraphModel(CompositeEntity composite)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
_update()
Update the graph model.void
startUpdate()
void
stopUpdate()
-
Methods inherited from class ptolemy.vergil.modal.FSMGraphModel
disconnectEdge, getArcModel, getDeleteEdgeMoML, getDeleteNodeMoML, getEdgeModel, getNodeModel, getPortModel, getSemanticObject, getStateModel, removeNode
-
Methods inherited from class ptolemy.vergil.basic.AbstractBasicGraphModel
_getLocation, changeExecuted, changeFailed, getCompositeModel, getProperty, getPtolemyModel, isNode, removeListeners, setProperty, setSemanticObject
-
Methods inherited from class diva.graph.modular.ModularGraphModel
containsNode, getHead, getNodeCount, getParent, getRoot, getTail, inEdges, isComposite, isDirected, isEdge, nodes, nodesAfterEdges, nodesBeforeEdges, outEdges
-
Methods inherited from class diva.graph.AbstractGraphModel
addGraphListener, dispatchGraphEvent, removeGraphListener, setDispatchEnabled
-
-
-
-
Constructor Detail
-
GTFSMGraphModel
public GTFSMGraphModel(CompositeEntity composite)
-
-
Method Detail
-
startUpdate
public void startUpdate()
- Specified by:
startUpdate
in interfaceGTFrameController.UpdateController
-
stopUpdate
public void stopUpdate()
- Specified by:
stopUpdate
in interfaceGTFrameController.UpdateController
-
_update
protected boolean _update()
Description copied from class:FSMGraphModel
Update the graph model. This is called whenever a change request is executed. In this class the internal set of link objects is verified to be correct.- Overrides:
_update
in classFSMGraphModel
- Returns:
- True if the graph model changes (always true in this base class).
-
-