public class BasicGraphFrameExtension
extends java.lang.Object
implements java.io.Serializable
Red (cxh) |
Red (cxh) |
Modifier and Type | Method and Description |
---|---|
static void |
alternateDelete(java.lang.Object[] selection,
AbstractBasicGraphModel graphModel,
NamedObj container)
Delete the Ptolemy objects represented by the selection.
|
static void |
alternatePaste(NamedObj container,
java.lang.StringBuffer moml)
Paste the Ptolemy objects represented by the value of the
moml argument into the container.
|
static void |
alternatePasteMomlModification(NamedObj container,
java.lang.StringBuffer moml)
Paste the Ptolemy objects represented by the value of the
moml argument into the container.
|
static java.lang.Object[] |
filterDeletedObjects(AbstractBasicGraphModel graphModel,
java.lang.Object[] selection)
Filter the array of objects selected for deletion.
|
static void |
filterDeleteMoml(AbstractBasicGraphModel graphModel,
java.lang.Object[] selection,
java.lang.StringBuffer moml)
Filter the moml to be deleted.
|
static EditorDropTarget |
getDropTarget(JGraph jGraph)
Return the drop target for a JGraph.
|
public static void alternateDelete(java.lang.Object[] selection, AbstractBasicGraphModel graphModel, NamedObj container) throws IllegalActionException
selection
- The objects to be deleted.graphModel
- The graphical model.container
- The container in which the Ptolemy objects resideIllegalActionException
- If there is a problem deleting.public static void alternatePasteMomlModification(NamedObj container, java.lang.StringBuffer moml) throws IllegalActionException
container
- The container in to which the Ptolemy objects are pasted.moml
- The moml used to create the objects.IllegalActionException
- If there is a problem pasting.public static void alternatePaste(NamedObj container, java.lang.StringBuffer moml) throws IllegalActionException
container
- The container in to which the Ptolemy objects are pasted.moml
- The moml used to create the objects.IllegalActionException
- If there is a problem pasting.public static java.lang.Object[] filterDeletedObjects(AbstractBasicGraphModel graphModel, java.lang.Object[] selection)
graphModel
- The graphical model.selection
- The objects to be deleted.public static void filterDeleteMoml(AbstractBasicGraphModel graphModel, java.lang.Object[] selection, java.lang.StringBuffer moml)
graphModel
- The graphical model.selection
- The objects to be deleted.moml
- The moml to be filtered.public static EditorDropTarget getDropTarget(JGraph jGraph)
jGraph
- The Jgraph of interest