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 DragSourceListenerdragFinished in class DragSourceAdapterevent - the information associated with the drag finished eventDragSourceEventpublic void dragSetData(DragSourceEvent event)
DragSourceListener.dragSetData(DragSourceEvent)
sets the drag event data based on the current selection in the Navigator.dragSetData in interface DragSourceListenerdragSetData in class DragSourceAdapterevent - the information associated with the drag set data eventDragSourceEventpublic 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 DragSourceListenerdragStart in class DragSourceAdapterevent - the information associated with the drag start eventDragSourceEvent
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.