Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » support multiple transfer in DND
support multiple transfer in DND [message #462502] Thu, 13 October 2005 07:26
Eclipse UserFriend
Originally posted by: yulian.crimsonlogic.com

Hi, all

I am trying to add DND support for my tree view. In my tree there are
three types of node, and I want to differentiate them during drag and
drop. So I implement three Transfer class. And add the Transfer array of
the three transfers to the TreeViewer. However, I find that no matter
which object I am trying to drag, in the method

public void dragSetData(DragSourceEvent event)

event.dataType always be the type of the first transfer in the Transfer
array. And I can't find any place to set the dataType.

Does anyone have some idea?

Thanks in advance!

Yulian
Previous Topic:Icons, icons, any free icons?
Next Topic:Text Widget: How to check (verify) user input?
Goto Forum:
  


Current Time: Fri Apr 19 20:34:30 GMT 2024

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

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

Back to the top