Runtime

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

Provides core support for drag and drop.

See:
          Description

Interface Summary
IDragDropListenerProvider Interface that needs to be implemented by the client who provides IDragSourceListener and IDropTargetListener
IDragListenerContext Interface for accessing the attributes used to determine the IDragSourceListener
IDropListenerContext Interface for accessing the attributes used to determine the IDropTargetListener.
IListenerContext Interface for accessing the attributes used to determine the drag and drop transfer adapters and listeners
ITransferAgent Interface to be implemented by providers of new transfer agents for drag and drop operations
TransferId Interface containing constants for transfer ids used within drag and drop operations
 

Class Summary
AbstractDragDropListenerProvider The abstract parent of all concrete drag and drop listener providers.
AbstractTransferAdapterProvider The abstract parent of all concrete transfer adapter providers.
DragDropListenerService A service that provides the IDragSourceListener and IDropTargetListener.
DragDropListenerService.ProviderDescriptor A descriptor for IDragDropListenerProvider defined by a configuration element.
SelectionTransfer This class can be used to transfer a ISelection between two parts in a workbench in a drag and drop operation.
TransferAdapterService A service that provides transfer adapters for a given transfer id.
TransferAdapterService.ProviderDescriptor A descriptor for ITransferAdapterProvider defined by a configuration element.
TransferAgent Utility class that contains the transfer id and the associated transfer
 

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

Provides core support for drag and drop. The two main services in this package for drag and drop are DragDropListenerService and TransferAdapterService.

DragDropListenerService and TransferAdapterService

The DragDropListenerService contains methods to get the IDragSourceListener and IDropTargetListener, which are interfaces implemented by drag and drop providers. It also contains a method to get Transfer ID strings, which can then be passed on to the TransferAdapterService to return ITransferDragSourceListener ITransferDragSourceListener or ITransferDropTargetListener ITransferDropTargetListener, which are interfaces to be implemented by drag and drop adapters for different transfer types.

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.