DND from TreeItem to gef shape [message #234313] |
Tue, 22 May 2007 08:19 |
Eclipse User |
|
|
|
Originally posted by: tan.janice.gmail.com
Hi,
i have a view used to display a tree with many tree items. i would like to
drag a treeitem or multiple items onto a shape in my editor. when the tree
item (s) are dragged over the correct shape, i would like to add the
treeitem data to a list which is stored in the shape object. how to i go
about doing so?
i have already enable the treeitem to be a dragsource. i can't seem to be
able to add a dragtarget to my shape figure.
tried to add another dropListener to the viewer but it doesn't seem to
enter any of the TransferDropTargetListener methods.
thanks in advance!
|
|
|
Powered by
FUDForum. Page generated in 0.01785 seconds