[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] support multiple transfer in DND
|
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