|support multiple transfer in DND [message #462502]
||Thu, 13 October 2005 07:26
Originally posted by: yulian.crimsonlogic.com|
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!
Powered by FUDForum
. Page generated in 0.01441 seconds