ptolemy.vergil.gt
Class GTFrameController.GTFSMGraphModel

java.lang.Object
  extended by diva.graph.AbstractGraphModel
      extended by diva.graph.modular.ModularGraphModel
          extended by ptolemy.vergil.basic.AbstractBasicGraphModel
              extended by ptolemy.vergil.modal.FSMGraphModel
                  extended by 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
private  boolean _updateStopped
           
 
Fields inherited from class diva.graph.AbstractGraphModel
_graphListeners
 
Constructor Summary
GTFrameController.GTFSMGraphModel(CompositeEntity composite)
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_updateStopped

private boolean _updateStopped
Constructor Detail

GTFrameController.GTFSMGraphModel

public GTFrameController.GTFSMGraphModel(CompositeEntity composite)
Method Detail

startUpdate

public void startUpdate()
Specified by:
startUpdate in interface GTFrameController.UpdateController

stopUpdate

public void stopUpdate()
Specified by:
stopUpdate in interface GTFrameController.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 class FSMGraphModel
Returns:
True if the graph model changes (always true in this base class).