DragSourceAdapter

This adapter class provides default implementations for the methods described by the <code>DragSourceListener</code> interface.

<p>Classes that wish to deal with <code>DragSourceEvent</code>s can extend this class and override only the methods which they are interested in.</p>

@see DragSourceListener @see DragSourceEvent @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>

Members

Functions

dragFinished
void dragFinished(DragSourceEvent event)

This implementation of <code>dragFinished</code> does nothing. For additional information see <code>DragSourceListener.dragFinished</code>.

dragSetData
void dragSetData(DragSourceEvent event)

This implementation of <code>dragSetData</code> does nothing. For additional information see <code>DragSourceListener.dragSetData</code>.

dragStart
void dragStart(DragSourceEvent event)

This implementation of <code>dragStart</code> permits the drag operation to start. For additional information see <code>DragSourceListener.dragStart</code>.

Inherited Members

From DragSourceListener

dragStart
void dragStart(DragSourceEvent event)

The user has begun the actions required to drag the widget. This event gives the application the chance to decide if a drag should be started.

dragSetData
void dragSetData(DragSourceEvent event)

The data is required from the drag source.

dragFinished
void dragFinished(DragSourceEvent event)

The drop has successfully completed(mouse up over a valid target) or has been terminated (such as hitting the ESC key). Perform cleanup such as removing data from the source side on a successful move operation.

Meta