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

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

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.part
Class PluginTransferData

java.lang.Object
  extended by 
org.eclipse.ui.part.PluginTransferData

public class PluginTransferData
extends Object

Record for transferring data during a drag and drop operation between different plug-ins. This object contains an extension identifier and a block of bytes. When the drop occurs, the data is interpreted by an action defined in the specified extension.

Clients using PluginTransfer should create an instance to contain the drop data.

Restriction:
This class is not intended to be subclassed by clients.

Constructor Summary
PluginTransferData ( String extensionId, byte[] data)
          Creates a new record for the given extension id and data.
 
Method Summary
 byte[] getData ()
          Returns the data being transferred.
  String getExtensionId ()
          Returns the id of the extension that will provide the drop action.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginTransferData

public PluginTransferData(
String extensionId,
                          byte[] data)
Creates a new record for the given extension id and data.

Parameters:
extensionId - the extension id
data - the data to transfer
Method Detail

getData

public byte[] getData()
Returns the data being transferred.

Returns:
the data

getExtensionId

public 
String getExtensionId()
Returns the id of the extension that will provide the drop action.

Returns:
the extension id

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


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