| java.lang.Object org.openide.windows.ExternalDropHandler
ExternalDropHandler | abstract public class ExternalDropHandler (Code) | | When an implementation of this class is available in the global Lookup and
an object is being dragged over some parts of the main window of the IDE then
the window system may call methods of this class to decide whether it can
accept or reject the drag operation. And when the object is actually dropped
into the IDE then this class will be asked to handle the drop.
since: 6.7 author: S. Aubrecht |
Method Summary | |
abstract public boolean | canDrop(DropTargetDragEvent e) | abstract public boolean | canDrop(DropTargetDropEvent e) This method is called when the dragged object is already dropped to decide
whether the drop can be accepted.
True if the dropped object is supported (i.e. | abstract public boolean | handleDrop(DropTargetDropEvent e) When an object is dropped into the IDE this method must process it (e.g. |
canDrop | abstract public boolean canDrop(DropTargetDragEvent e)(Code) | | True if the dragged object can be dropped into the IDE, falseif the DataFlavor(s) are not supported. |
canDrop | abstract public boolean canDrop(DropTargetDropEvent e)(Code) | | This method is called when the dragged object is already dropped to decide
whether the drop can be accepted.
True if the dropped object is supported (i.e. handleDrop methodcan process the object), false otherwise. |
handleDrop | abstract public boolean handleDrop(DropTargetDropEvent e)(Code) | | When an object is dropped into the IDE this method must process it (e.g.
open the dropped file in a new editor tab).
True if the dropped object was processed successfully, false otherwise. |
|
|