|
Runtime | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
IDragSourceContext | Interface that contains the context information relevant to the drag source. |
IDragSourceListener | Interface to be implemented by providers to handle drag source events |
ITransferDragSourceListener | Interface to be implemented by providers of transfer agents that are used by the drag source within drag/drop operations. |
Class Summary | |
---|---|
AbstractDragSourceListener | Abstract parent of all the drag source listeners |
DelegatingDragSourceAdapter | This class delegates all the drag source events to the transfer drag source adapters. |
DragSourceContext | Concrete implementation of IDragSourceContext |
SelectionDragAdapter | Concrete implementation of the transfer drag source adapter for the selection transfer type. |
TransferDragSourceAdapter | Parent of all the transfer drag source adapters. |
Provides core support for the drag component of drag and drop. The two main types of
classes in this package are those that pertain to the drag source, and those
that pertain to adapting the transfer agent for the item to be dragged for use
with the TransferAdapterProvider
. See the schema documentation for
transferAdapterProviders for more information.
The AbstractDragSourceListener
, which extends the IDragSourceListener
for listening to drags, determines if the DragSourceContext
is draggable. Drag providers should subclass the
AbstractDragSourceListener
and handle the DragSourceEvent
.
The TransferDragSourceAdapter
implements the ITransferDragSourceListener
interface. It adapts the ITransferAgent
for use with the TransferAdapterProvider
and notifies its IDragSourceListener
array with DragSourceEvent
notifications.
For more information on transferring data using Eclipse drag and drop, please
see org.eclipse.swt.dnd.Transfer
and org.eclipse.swt.dnd.TransferData
.
|
Runtime | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.