public interface TransferDropTargetListener extends DropTargetListener
DropTragetListenerthat handles one type of SWT
Transfer. The purpose of a
TransferDropTargetListenerwill not be used if
DelegatingDropAdapterallows these functions to be implemented separately for unrelated types of drags.
DelegatingDropAdapterthen combines the function of each
TransferDropTargetListener, while allowing them to be implemented as if they were the only
|Modifier and Type||Method and Description|
Transfertype that this listener can accept a drop operation for.
Transferfor this listener
boolean isEnabled(DropTargetEvent event)
trueif this listener can handle the drop based on the given
This method is called by the
DropTargetEvent contains a transfer data type
supported by this listener. The
Transfer returned by the
#getTransfer() method is used for this purpose.
event- the drop target event
trueif the listener is enabled for the given drop target event.
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.