
public abstract class DNDDragListener<TYPE> extends DragSourceAdapter
| Modifier | Constructor and Description |
|---|---|
protected |
DNDDragListener(StructuredViewer viewer) |
protected |
DNDDragListener(Transfer[] transfers,
StructuredViewer viewer) |
| Modifier and Type | Method and Description |
|---|---|
void |
dragSetData(DragSourceEvent event) |
void |
dragStart(DragSourceEvent event) |
protected abstract TYPE |
getObject(IStructuredSelection selection) |
Transfer[] |
getTransfers() |
StructuredViewer |
getViewer() |
void |
setTransfers(Transfer[] transfers) |
dragFinishedprotected DNDDragListener(Transfer[] transfers, StructuredViewer viewer)
protected DNDDragListener(StructuredViewer viewer)
public Transfer[] getTransfers()
public void setTransfers(Transfer[] transfers)
public StructuredViewer getViewer()
public void dragSetData(DragSourceEvent event)
dragSetData in interface DragSourceListenerdragSetData in class DragSourceAdapterpublic void dragStart(DragSourceEvent event)
dragStart in interface DragSourceListenerdragStart in class DragSourceAdapterprotected abstract TYPE getObject(IStructuredSelection selection)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.