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