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 {@link org.eclipse.gmf.runtime.common.ui.services.dnd.core.TransferAdapterProvider TransferAdapterProvider}. See the schema documentation for transferAdapterProviders for more information.

The Drag Source

The {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drag.AbstractDragSourceListener AbstractDragSourceListener}, which extends the {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drag.IDragSourceListener IDragSourceListener} for listening to drags, determines if the {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drag.DragSourceContext DragSourceContext} is draggable. Drag providers should subclass the {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drag.AbstractDragSourceListener AbstractDragSourceListener} and handle the {@link org.eclipse.swt.dnd.DragSourceEvent DragSourceEvent}.

The Drag Adapter

The {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drag.TransferDragSourceAdapter TransferDragSourceAdapter} implements the {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drag.ITransferDragSourceListener ITransferDragSourceListener} interface. It adapts the {@link org.eclipse.gmf.runtime.common.ui.services.dnd.core.ITransferAgent ITransferAgent} for use with the {@link org.eclipse.gmf.runtime.common.ui.services.dnd.core.TransferAdapterProvider TransferAdapterProvider} and notifies its {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drag.IDragSourceListener IDragSourceListener} array with {@link org.eclipse.swt.dnd.DragSourceEvent DragSourceEvent} notifications.

Package Specification

For more information on transferring data using Eclipse drag and drop, please see {@link org.eclipse.swt.dnd.Transfer org.eclipse.swt.dnd.Transfer} and {@link org.eclipse.swt.dnd.TransferData org.eclipse.swt.dnd.TransferData}.

@canBeSeenBy %partners