# Uses of Interface
org.eclipse.swt.dnd.DragSourceListener

Packages that use DragSourceListener
Package
Description
org.eclipse.jface.util
Provides useful building blocks used throughout JFace, including property change events, a listener list implementation, and runtime checked assertions.
org.eclipse.jface.viewers
Provides a framework for viewers, which are model-based content adapters for SWT widgets.
org.eclipse.swt.dnd
SWT Drag and Drop support.
org.eclipse.ui.forms.widgets
Custom widgets and controls for forms-based parts.
org.eclipse.ui.navigator
Provides the Common Navigator framework.
org.eclipse.ui.views.navigator
Provides the standard Resource Navigator view which presents the tree of resources in the workspace.

## Uses of DragSourceListener in org.eclipse.jface.util

Subinterfaces of DragSourceListener in org.eclipse.jface.util
Modifier and Type
Interface
Description
`interface`
`TransferDragSourceListener`
A `TransferDragSourceListener` is a `DragSourceListener` that can handle one type of SWT `Transfer`.
Classes in org.eclipse.jface.util that implement DragSourceListener
Modifier and Type
Class
Description
`class`
`DelegatingDragAdapter`
A `DelegatingDragAdapter` is a `DragSourceListener` that maintains and delegates to a set of `TransferDragSourceListener`s.

## Uses of DragSourceListener in org.eclipse.jface.viewers

Methods in org.eclipse.jface.viewers with parameters of type DragSourceListener
Modifier and Type
Method
Description
`void`
StructuredViewer.`addDragSupport(int operations, Transfer[] transferTypes, DragSourceListener listener)`
Adds support for dragging items out of this viewer via a user drag-and-drop operation.

## Uses of DragSourceListener in org.eclipse.swt.dnd

Classes in org.eclipse.swt.dnd that implement DragSourceListener
Modifier and Type
Class
Description
`class`
`DragSourceAdapter`
This adapter class provides default implementations for the methods described by the `DragSourceListener` interface.
`class`
`DragSourceEffect`
This class provides default implementations to display a drag source effect during a drag and drop operation.
`class`
`TableDragSourceEffect`
This class provides default implementations to display a source image when a drag is initiated from a `Table`.
`class`
`TreeDragSourceEffect`
This class provides default implementations to display a source image when a drag is initiated from a `Tree`.
Methods in org.eclipse.swt.dnd that return DragSourceListener
Modifier and Type
Method
Description
`DragSourceListener[]`
DragSource.`getDragListeners()`
Returns an array of listeners who will be notified when a drag and drop operation is in progress, by sending it one of the messages defined in the `DragSourceListener` interface.
Methods in org.eclipse.swt.dnd with parameters of type DragSourceListener
Modifier and Type
Method
Description
`void`
DragSource.`addDragListener(DragSourceListener listener)`
Adds the listener to the collection of listeners who will be notified when a drag and drop operation is in progress, by sending it one of the messages defined in the `DragSourceListener` interface.
`void`
DragSource.`removeDragListener(DragSourceListener listener)`
Removes the listener from the collection of listeners who will be notified when a drag and drop operation is in progress.

## Uses of DragSourceListener in org.eclipse.ui.forms.widgets

Methods in org.eclipse.ui.forms.widgets with parameters of type DragSourceListener
Modifier and Type
Method
Description
`void`
Form.`addTitleDragSupport(int operations, Transfer[] transferTypes, DragSourceListener listener)`
Adds support for dragging items out of the form title area via a user drag-and-drop operation.

## Uses of DragSourceListener in org.eclipse.ui.navigator

Classes in org.eclipse.ui.navigator that implement DragSourceListener
Modifier and Type
Class
Description
`final class`
`CommonDragAdapter`
Provides an implementation of `DragSourceAdapter` which uses the extensions provided by the associated `INavigatorContentService`.

## Uses of DragSourceListener in org.eclipse.ui.views.navigator

Classes in org.eclipse.ui.views.navigator that implement DragSourceListener
Modifier and Type
Class
Description
`class`
`NavigatorDragAdapter`
Deprecated, for removal: This API element is subject to removal in a future version.
as of 3.5, use the Common Navigator Framework classes instead