Provides core support for the drop component of drag and drop. The two main types of classes in this package are those that pertain to the drop target, and those that pertain to adapting the transfer agent for the item to be dropped 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 Drop Target

The {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drop.AbstractDropTargetListener AbstractDropTargetListener}, which extends the {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drop.IDropTargetListener IDropTargetListener} for listening to drops, determines if the {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drop.DropTargetContext DropTargetContext} can support drops. Drop providers should subclass the {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drop.AbstractDropTargetListener AbstractDropTargetListener} and handle the SWT {@link org.eclipse.swt.dnd.DropTargetEvent DropTargetEvent} or the GMF {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drop.DropTargetEvent DropTargetEvent}.

The Drop Adapter

The {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drop.TransferDropTargetAdapter TransferDropTargetAdapter} implements the {@link org.eclipse.gmf.runtime.common.ui.services.dnd.drop.ITransferDropTargetListener ITransferDropTargetListener} 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.drop.IDropTargetListener IDropTargetListener} array with {@link org.eclipse.swt.dnd.DropTargetEvent DropTargetEvent} 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