The ShapePalette class implements a palette from which the user drags and drops shapes onto the canvas
The dropping of shapes onto the canvas results in the addition of nodes and edges to the current Cytoscape
network, as defined by the behavior of the event handler that responds to the drop events.
An example editor that extends the basic Cytoscape editor and is based upon a
drag-and-drop and palette framework into which developers plug in semantics.
An example "BioPAX-like" editor that extends the basic Cytoscape editor and is based upon
a drag-and-drop and palette framework into which developers plug in semantics.
base class for the PaletteListTransferHandler of the ShapePalette
taken from Java drag and drop tutorial, see http://java.sun.com/docs/books/tutorial/uiswing/misc/dnd.html