public final class ShellDropTarget extends DropTargetAdapter
Modifier and Type | Method and Description |
---|---|
static void |
addDropSupport(Control parent,
IScriptEngineProvider engineProvider)
Add drop support for various objects.
|
void |
dragEnter(DropTargetEvent event) |
void |
drop(DropTargetEvent event) |
dragLeave, dragOperationChanged, dragOver, dropAccept
public static void addDropSupport(Control parent, IScriptEngineProvider engineProvider)
parent
- control accepting dropsjavaScriptShell
- shell for DND action executionpublic void dragEnter(DropTargetEvent event)
dragEnter
in interface DropTargetListener
dragEnter
in class DropTargetAdapter
public void drop(DropTargetEvent event)
drop
in interface DropTargetListener
drop
in class DropTargetAdapter