Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse GMF Guide
Previous Page Home Next Page



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


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 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.


Guidelines for using Eclipse APIs.

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

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire