Skip to main content



      Home
Home » Eclipse Projects » GEF » ObjectTransferType?
ObjectTransferType? [message #100224] Wed, 15 October 2003 23:36 Go to next message
Eclipse UserFriend
Originally posted by: snowice.asiamail.com

Hi,
I realise that there are only FileTransferType, TextTransferType and
ByteArrayTransferType. Did anyone implement any ObjectTransferType? I
desperately need an ObjectTransfertype as the 3 available transfer types
cannot be used to satisfy my needs. In my tree viewer, it displays a tree
of "objects" which i need to drag and drop. However each object has quite
a number of nested objects hence ByteArrayTransferType does not seem
feasible. Can someone enlighten me? Thanks in advance!

regards,
Evon
Re: ObjectTransferType? [message #100417 is a reply to message #100224] Thu, 16 October 2003 21:09 Go to previous message
Eclipse UserFriend
Originally posted by: ThisisFake.Fakeness.xyz

On Thu, 16 Oct 2003 03:36:21 +0000, Evon wrote:

> Hi,
> I realise that there are only FileTransferType, TextTransferType and
> ByteArrayTransferType. Did anyone implement any ObjectTransferType? I
> desperately need an ObjectTransfertype as the 3 available transfer types
> cannot be used to satisfy my needs. In my tree viewer, it displays a tree
> of "objects" which i need to drag and drop. However each object has quite
> a number of nested objects hence ByteArrayTransferType does not seem
> feasible. Can someone enlighten me? Thanks in advance!
>
> regards,
> Evon

byte array shoudl work just fine. Use an ObjectOutputStream and a
ByteArrayOutputStream, or input streams. some combination of those should
allow you to convert your object into a byte array. They must all
implement the serializable interface.

CL
Previous Topic:how to use logic sample ,thanks!!
Next Topic:Extending GraphicalEditorWithPalete
Goto Forum:
  


Current Time: Thu May 08 03:15:26 EDT 2025

Powered by FUDForum. Page generated in 0.27627 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top