get treeviewer from item [message #539433] |
Thu, 10 June 2010 17:22 |
|
Hello,
Is it possible to get a treeviewer given one of it's children? I have attached a selectionChanged listener to a jface treeViewer. When the user selects an item in the tree, I can get the actual element selection from the SelectionChangedEvent. How do I get the treeViewer from this selection?
Thanks,
Upkar.
|
|
|
Re: get treeviewer from item [message #539503 is a reply to message #539433] |
Fri, 11 June 2010 05:36 |
Vijay Raj Messages: 608 Registered: July 2009 |
Senior Member |
|
|
There is a getter method for selection provider in SelectionChangedEvent,which is nothing but the viewer....
---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
|
|
|
Powered by
FUDForum. Page generated in 0.02638 seconds