Skip to main content



      Home
Home » Eclipse Projects » JFace » get treeviewer from item
get treeviewer from item [message #539433] Thu, 10 June 2010 13:22 Go to next message
Eclipse UserFriend
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 01:36 Go to previous message
Eclipse UserFriend
There is a getter method for selection provider in SelectionChangedEvent,which is nothing but the viewer....
Previous Topic:ButtonCellEditor
Next Topic:How to trigger JFace Databinding validation
Goto Forum:
  


Current Time: Wed Jul 23 11:11:50 EDT 2025

Powered by FUDForum. Page generated in 1.06414 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top