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
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

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

  




 

 

Eclipse GMF Guide
Previous Page Home Next Page

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.


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