drop
public void drop(java.awt.dnd.DropTargetDropEvent dtde)
This method is derived from the original drop() method in
DTListener.
If the transferrable object is recognized as a Ptolemy II object,
then use the MoML description of the object to create a new
instance of the object at the drop location. If the drop
location is on top of an icon representing an instance of
NamedObj, then make that instance the container of the new
object. Otherwise, make the model associated with the graph
the container.
This is called when the drag operation has terminated with a
drop on the operable part of the drop site for the DropTarget
registered with this listener.
- Specified by:
drop
in interface java.awt.dnd.DropTargetListener
- Overrides:
drop
in class EditorDropTargetListener
- Parameters:
dtde
- The drop event.