ptolemy.vergil.gt
Class GTFrameController.GTActorGraphModel

java.lang.Object
  extended by diva.graph.AbstractGraphModel
      extended by diva.graph.modular.ModularGraphModel
          extended by ptolemy.vergil.basic.AbstractBasicGraphModel
              extended by ptolemy.vergil.actor.ActorGraphModel
                  extended by ptolemy.vergil.gt.GTFrameController.GTActorGraphModel
All Implemented Interfaces:
GraphModel, ChangeListener, GTFrameController.UpdateController
Enclosing class:
GTFrameController

public static class GTFrameController.GTActorGraphModel
extends ActorGraphModel
implements GTFrameController.UpdateController


Nested Class Summary
 
Nested classes/interfaces inherited from class ptolemy.vergil.actor.ActorGraphModel
ActorGraphModel.ExternalPortModel, ActorGraphModel.IconModel, ActorGraphModel.LinkModel, ActorGraphModel.PortModel, ActorGraphModel.VertexModel
 
Field Summary
private  boolean _updateStopped
           
 
Fields inherited from class diva.graph.AbstractGraphModel
_graphListeners
 
Constructor Summary
GTFrameController.GTActorGraphModel(NamedObj composite)
           
 
Method Summary
protected  boolean _update()
          Update the graph model.
 void startUpdate()
           
 void stopUpdate()
           
 
Methods inherited from class ptolemy.vergil.actor.ActorGraphModel
_getLinkSet, _removeLink, changeExecuted, disconnectEdge, getCompositeModel, getDeleteEdgeMoML, getDeleteNodeMoML, getEdgeModel, getExternalPortModel, getIconModel, getLinkModel, getNodeModel, getPortModel, getSemanticObject, getVertexModel, removeNode
 
Methods inherited from class ptolemy.vergil.basic.AbstractBasicGraphModel
_getLocation, changeFailed, 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.GTActorGraphModel

public GTFrameController.GTActorGraphModel(NamedObj 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: ActorGraphModel
Update the graph model. This is called whenever a change request is executed. In this class the internal set of link objects is created to represent each of the links in the graph, and to remove any link objects that are incorrect (e.g., do not have both ends in the model). This method is usually called just before issuing a graph event. If this method returns false, then the graph event should not be issued, because further changes are necessary.

Overrides:
_update in class ActorGraphModel
Returns:
True if the model was successfully updated, or false if further change requests were queued.