@Deprecated public class NavigatorDragAdapter extends DragSourceAdapter
Constructor and Description |
---|
NavigatorDragAdapter(ISelectionProvider provider)
Deprecated.
Constructs a new drag adapter.
|
Modifier and Type | Method and Description |
---|---|
void |
dragFinished(DragSourceEvent event)
Deprecated.
This implementation of
DragSourceListener.dragFinished(DragSourceEvent)
responds to a drag that has moved resources outside the Navigator by deleting
the corresponding source resource. |
void |
dragSetData(DragSourceEvent event)
Deprecated.
This implementation of
DragSourceListener.dragSetData(DragSourceEvent)
sets the drag event data based on the current selection in the Navigator. |
void |
dragStart(DragSourceEvent event)
Deprecated.
This implementation of
DragSourceListener.dragStart(DragSourceEvent)
allows the drag to start if the current Navigator selection contains resources
that can be dragged. |
public NavigatorDragAdapter(ISelectionProvider provider)
provider
- The selection providerpublic void dragFinished(DragSourceEvent event)
DragSourceListener.dragFinished(DragSourceEvent)
responds to a drag that has moved resources outside the Navigator by deleting
the corresponding source resource.dragFinished
in interface DragSourceListener
dragFinished
in class DragSourceAdapter
event
- the information associated with the drag finished eventDragSourceEvent
public void dragSetData(DragSourceEvent event)
DragSourceListener.dragSetData(DragSourceEvent)
sets the drag event data based on the current selection in the Navigator.dragSetData
in interface DragSourceListener
dragSetData
in class DragSourceAdapter
event
- the information associated with the drag set data eventDragSourceEvent
public void dragStart(DragSourceEvent event)
DragSourceListener.dragStart(DragSourceEvent)
allows the drag to start if the current Navigator selection contains resources
that can be dragged.dragStart
in interface DragSourceListener
dragStart
in class DragSourceAdapter
event
- the information associated with the drag start eventDragSourceEvent
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.