Package ptolemy.vergil.gt
Class GTFrameController.GTActorGraphModel
- java.lang.Object
-
- diva.graph.AbstractGraphModel
-
- diva.graph.modular.ModularGraphModel
-
- ptolemy.vergil.basic.AbstractBasicGraphModel
-
- ptolemy.vergil.actor.ActorGraphModel
-
- 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
-
Fields inherited from class diva.graph.AbstractGraphModel
_graphListeners
-
-
Constructor Summary
Constructors Constructor Description GTActorGraphModel(NamedObj composite)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean_update()Update the graph model.voidstartUpdate()voidstopUpdate()-
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
-
-
-
-
Constructor Detail
-
GTActorGraphModel
public GTActorGraphModel(NamedObj composite)
-
-
Method Detail
-
startUpdate
public void startUpdate()
- Specified by:
startUpdatein interfaceGTFrameController.UpdateController
-
stopUpdate
public void stopUpdate()
- Specified by:
stopUpdatein interfaceGTFrameController.UpdateController
-
_update
protected boolean _update()
Description copied from class:ActorGraphModelUpdate 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:
_updatein classActorGraphModel- Returns:
- True if the model was successfully updated, or false if further change requests were queued.
-
-