org.eclipse.net4j.util.ui.dnd
Class DNDDragListener<TYPE>
java.lang.Object
org.eclipse.swt.dnd.DragSourceAdapter
org.eclipse.net4j.util.ui.dnd.DNDDragListener<TYPE>
- All Implemented Interfaces:
- EventListener, DragSourceListener, org.eclipse.swt.internal.SWTEventListener
public abstract class DNDDragListener<TYPE>
- extends DragSourceAdapter
- Author:
- Eike Stepper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DNDDragListener
protected DNDDragListener(Transfer[] transfers,
StructuredViewer viewer)
- Since:
- 3.0
getTransfers
public Transfer[] getTransfers()
- Since:
- 3.0
getViewer
public StructuredViewer getViewer()
dragSetData
public void dragSetData(DragSourceEvent event)
- Description copied from class:
org.eclipse.swt.dnd.DragSourceAdapter
- This implementation of
dragSetData
does nothing.
For additional information see DragSourceListener.dragSetData
.
- Specified by:
dragSetData
in interface DragSourceListener
- Overrides:
dragSetData
in class DragSourceAdapter
- Parameters:
event
- the information associated with the drag set data event- See Also:
DragSourceEvent
dragStart
public void dragStart(DragSourceEvent event)
- Description copied from class:
org.eclipse.swt.dnd.DragSourceAdapter
- This implementation of
dragStart
permits the drag operation to start.
For additional information see DragSourceListener.dragStart
.
- Specified by:
dragStart
in interface DragSourceListener
- Overrides:
dragStart
in class DragSourceAdapter
- Parameters:
event
- the information associated with the drag start event- See Also:
DragSourceEvent
getObject
protected abstract TYPE getObject(IStructuredSelection selection)
Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.