> You can use a DropTargetListener for this.
OK, DropTargetListener does what I wrote in last post. But there is
another problem: when I'm over particular leaf, where dropping is
disabled (disabled because I don't want user to drop there)
I want cursor to change. At the moment I'm able to change setDragEnabled
for whole tree, not in any moment. Is it possible to do? For some parts
of tree disabel dropping... I can get the path on tree on which I'm
while mouse is over tree but I don't know how to use it.
Mariusz
Michael Rauscher - 13 Sep 2006 13:44 GMT
mario schrieb:
>> You can use a DropTargetListener for this.
>
[quoted text clipped - 5 lines]
> of tree disabel dropping... I can get the path on tree on which I'm
> while mouse is over tree but I don't know how to use it.
You've just to call e.rejectDrag() or e.acceptDrag() where e ist the
DropTargetDragEvent.
Bye
Michael
mario - 13 Sep 2006 14:33 GMT
> You've just to call e.rejectDrag() or e.acceptDrag() where e ist the
> DropTargetDragEvent.
Thank you very much! It works :)
Mariusz