public class SwtDragListener
extends DragSourceAdapter
Modifier and Type | Field and Description |
---|---|
private FileTransfer |
fileTransfer
This instance helps to check whether a Transfer can be done.
|
private TextTransfer |
textTransfer |
Constructor and Description |
---|
SwtDragListener(int dragType,
Control control) |
Modifier and Type | Method and Description |
---|---|
void |
dragFinished(DragSourceEvent event) |
void |
dragSetData(DragSourceEvent event)
This method is called if the mouse button is released over the target.
|
void |
dragStart(DragSourceEvent event) |
(package private) void |
stop() |
private final FileTransfer fileTransfer
private final TextTransfer textTransfer
public void dragFinished(DragSourceEvent event)
public void dragSetData(DragSourceEvent event)
org.eclipse.swt.dnd.DragSourceAdapter#dragSetData(org.eclipse.swt.dnd.DragSourceEvent)
public void dragStart(DragSourceEvent event)
void stop()