Package org.eclipse.emf.cdo.transfer.ui
Class TransferDragListener
java.lang.Object
org.eclipse.swt.dnd.DragSourceAdapter
org.eclipse.net4j.util.ui.dnd.DNDDragListener<Object>
org.eclipse.emf.cdo.transfer.ui.TransferDragListener
- All Implemented Interfaces:
EventListener
,DragSourceListener
,org.eclipse.swt.internal.SWTEventListener
A
drag listener
that can support
a viewer
to create and perform
transfers
of the dragged elements to target elements
.- Author:
- Eike Stepper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dragFinished
(DragSourceEvent event) protected org.eclipse.net4j.util.container.IManagedContainer
protected Object
getObject
(IStructuredSelection selection) protected TransferUIProvider[]
static TransferDragListener
support
(StructuredViewer viewer) Methods inherited from class org.eclipse.net4j.util.ui.dnd.DNDDragListener
dragSetData, dragStart, getTransfers, getViewer, setTransfers
-
Constructor Details
-
TransferDragListener
-
-
Method Details
-
getContainer
protected org.eclipse.net4j.util.container.IManagedContainer getContainer() -
getUIProviders
-
getObject
- Specified by:
getObject
in classorg.eclipse.net4j.util.ui.dnd.DNDDragListener<Object>
-
dragFinished
- Specified by:
dragFinished
in interfaceDragSourceListener
- Overrides:
dragFinished
in classDragSourceAdapter
-
support
-