Package ptolemy.vergil.basic
Class NamedObjNodeModel
- java.lang.Object
-
- ptolemy.vergil.basic.NamedObjNodeModel
-
- All Implemented Interfaces:
NodeModel
- Direct Known Subclasses:
ActorGraphModel.ExternalPortModel
,ActorGraphModel.IconModel
,ActorGraphModel.PortModel
,ActorGraphModel.VertexModel
,AttributeNodeModel
,FSMGraphModel.PortModel
,FSMGraphModel.StateModel
,OntologyGraphModel.ConceptModel
,OntologySolverGraphModel.OntologyModel
public abstract class NamedObjNodeModel extends java.lang.Object implements NodeModel
A model for a Ptolemy II object as a node in a diva graph.- Since:
- Ptolemy II 2.0
- Version:
- $Id$
- Author:
- Steve Neuendorffer and Edward A. Lee
- Pt.AcceptedRating:
- Red (reviewmoderator)
- Pt.ProposedRating:
- Red (yourname)
-
-
Constructor Summary
Constructors Constructor Description NamedObjNodeModel()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.String
getDeleteNodeMoML(java.lang.Object node)
Return a MoML String that will delete the given node from the Ptolemy model.abstract void
removeNode(java.lang.Object eventSource, java.lang.Object node)
Remove the specified node from the model.
-
-
-
Method Detail
-
getDeleteNodeMoML
public abstract java.lang.String getDeleteNodeMoML(java.lang.Object node)
Return a MoML String that will delete the given node from the Ptolemy model.- Parameters:
node
- The given node to be deleted.- Returns:
- A valid MoML string.
-
removeNode
public abstract void removeNode(java.lang.Object eventSource, java.lang.Object node)
Remove the specified node from the model.- Parameters:
eventSource
- The event source.node
- The given node to be deleted.
-
-