public interface TransferDragSourceListener extends DragSourceListener
TransferDragSourceListener
is a DragSourceListener
that can handle one type of SWT Transfer
.
The purpose of a TransferDragSourceListener
is to:
TransferDragSourceListener
will not be used in a drag operation if the DragSourceEvent#doit
field
is set to false in DragSourceListener#dragStart(DragSourceEvent)
.
Transfer
type.
A DelegatingDragAdapter
allows these functions to be implemented
separately for unrelated types of drags. DelegatingDragAdapter
then
combines the function of each TransferDragSourceListener
, while
allowing them to be implemented as if they were the only DragSourceListener
.
Modifier and Type | Method and Description |
---|---|
Transfer |
getTransfer()
Returns the
Transfer type that this listener can provide data for. |
dragFinished, dragSetData, dragStart
Transfer getTransfer()
Transfer
type that this listener can provide data for.Transfer
associated with this listener
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.