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

  




 

 

Runtime

org.eclipse.gmf.runtime.common.ui.services.dnd.core
Interface ITransferAgent

All Known Implementing Classes:
TransferAgent

public interface ITransferAgent

Interface to be implemented by providers of new transfer agents for drag and drop operations


Method Summary
  ISelection getSelection ( TransferData transferData)
          Return the selection if the transfer is a selection transfer
  Transfer getTransfer ()
          Returns the transfer agent
 java.lang.String getTransferId ()
          Returns the unique id for this transfer agent
 boolean isSelectionType ()
          Returns a boolean indicating whether the transfer agent is selection transfer
 void setSelection ( ISelection selection)
          Set the selection if the transfer is a selection transfer
 

Method Detail

getTransferId

java.lang.String getTransferId()
Returns the unique id for this transfer agent

Returns:
String the transfer id

getTransfer


Transfer getTransfer()
Returns the transfer agent

Returns:
Transfer the transfer

isSelectionType

boolean isSelectionType()
Returns a boolean indicating whether the transfer agent is selection transfer

Returns:
boolean true or false

setSelection

void setSelection(
ISelection selection)
Set the selection if the transfer is a selection transfer

Parameters:
selection - The selection to be set

getSelection


ISelection getSelection(
TransferData transferData)
Return the selection if the transfer is a selection transfer

Parameters:
transferData - the platform specific representation of the data to be converted
Returns:
ISelection the selection

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