TableTreeViewer - Add Drag Support [message #440454] |
Fri, 30 July 2004 22:10 |
Eclipse User |
|
|
|
Originally posted by: gimm.us.ibm.com
Hello all, I'm having some issues getting drag support enabled on a
TableTreeViewer. I did search and find some rather old threads on the same
subject, but from the context it looked like it was going to be fixed in
3.0. Is this a known limitation?
It looks like the TableTree Control is being fetched correctly in
StructuredViewer.addDragSupport(...), so I'm not really too sure what's up.
Any information is greatly appreciated!
Thanks,
Gim.
|
|
|
Re: TableTreeViewer - Add Drag Support [message #440474 is a reply to message #440454] |
Mon, 02 August 2004 14:15 |
Paul E. Keyser Messages: 878 Registered: July 2009 |
Senior Member |
|
|
Yes, I have been unable to get DnD to work with TableTrees either; I
started a thread on July 8, and then replied to a thread on 28 July
trying to get some data, but so far no reply.
The symptoms are: the highlighting does not update, and the drop-event's
"item" is always null.
I am subclassing ViewerDropAdapter, whose dragOver() method in fact sets
event.feedback to "| DND.FEEDBACK_SELECT", as I confirmed by overriding
dragOver() to simply call super.dragOver() and add tracery before and
after the super-call to display the value of event.feedback and the
value of event.item
Paul K
Gim Mahasintunan wrote:
> Hello all, I'm having some issues getting drag support enabled on a
> TableTreeViewer. I did search and find some rather old threads on the same
> subject, but from the context it looked like it was going to be fixed in
> 3.0. Is this a known limitation?
>
> It looks like the TableTree Control is being fetched correctly in
> StructuredViewer.addDragSupport(...), so I'm not really too sure what's up.
>
> Any information is greatly appreciated!
>
> Thanks,
> Gim.
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03300 seconds