| org.eclipse.ui.internal.dnd.IDropTarget
All known Subclasses: org.eclipse.ui.internal.dnd.AbstractDropTarget,
IDropTarget | public interface IDropTarget (Code) | | This interface is used to drop objects. It knows how to drop a particular object
in a particular location. IDropTargets are typically created by IDragOverListeners, and
it is the job of the IDragOverListener to supply the drop target with information about
the object currently being dragged.
See Also: org.eclipse.ui.internal.dnd.IDragOverListener |
Method Summary | |
void | drop() | Cursor | getCursor() | Rectangle | getSnapRectangle() Returns a rectangle (screen coordinates) describing the target location
for this drop operation. |
drop | void drop()(Code) | | Drops the object in this position
|
getCursor | Cursor getCursor()(Code) | | Returns a cursor describing this drop operation
a cursor describing this drop operation |
getSnapRectangle | Rectangle getSnapRectangle()(Code) | | Returns a rectangle (screen coordinates) describing the target location
for this drop operation.
a snap rectangle or null if this drop target does not have a specific snaplocation. |
|
|