Runtime

Package org.eclipse.gmf.runtime.common.ui.services.dnd.drop

Provides core support for the drop component of drag and drop.

See:
          Description

Interface Summary
IDropTargetContext Interface that contains the context information relevant to the drop target.
IDropTargetEvent Interface that contains the information relevant to the drop target event.
IDropTargetListener Interface to be implemented by providers to handle drop target events
ITransferDropTargetListener Interface to be implemented by providers of transfer agents that are used by the drop target within drag/drop operations.
 

Class Summary
AbstractDropTargetListener Abstract parent of all the drop target listeners
AbstractDropTargetListener.WorkIndicatorType Enumerated type for work indicator type
DelegatingDropTargetAdapter This class delegates all the drop target events to the transfer drop target adapter.
DropTargetContext Concrete implementation of IDropTargetContext
DropTargetEvent Concrete implementation of IDropTargetEvent
SelectionDropAdapter Concrete implementation of the transfer drop target adapter for the selection transfer type.
TransferDropTargetAdapter Parent of all the transfer drop target adapters.
 

Package org.eclipse.gmf.runtime.common.ui.services.dnd.drop Description

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 TransferAdapterProvider. See the schema documentation for transferAdapterProviders for more information.

The Drop Target

The AbstractDropTargetListener, which extends the IDropTargetListener for listening to drops, determines if the DropTargetContext can support drops. Drop providers should subclass the AbstractDropTargetListener and handle the SWT DropTargetEvent or the GMF DropTargetEvent.

The Drop Adapter

The TransferDropTargetAdapter implements the ITransferDropTargetListener interface. It adapts the ITransferAgent for use with the TransferAdapterProvider and notifies its IDropTargetListener array with DropTargetEvent notifications.

Package Specification

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

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.