public class ResourceTransferDragAdapter extends DragSourceAdapter implements TransferDragSourceListener(Code)
A drag adapter that transfers the current selection as
IResource. Only those elements in the selection are part
of the transfer which can be converted into an IResource
.
Constructor Summary
public
ResourceTransferDragAdapter(ISelectionProvider provider) Creates a new ResourceTransferDragAdapter for the given selection
provider.
public ResourceTransferDragAdapter(ISelectionProvider provider)(Code)
Creates a new ResourceTransferDragAdapter for the given selection
provider.
Parameters: provider - the selection provider to access the viewer's selection
Method Detail
dragFinished
public void dragFinished(DragSourceEvent event)(Code)
dragSetData
public void dragSetData(DragSourceEvent event)(Code)
dragStart
public void dragStart(DragSourceEvent event)(Code)