Eclipse RCP app: Tree Viewer lazy Loading issues
Posted on 2012-03-15
I have a treeviewer with the following nodes, main,branch and leaf.
I want to populate, branch only when select main. In the same way I want to populate leaf only when I select branch.
I do not know which listener I should use. SelectionChangedListener is not doing enough.
The event object only has the text I have selected. I want to know about the object selected, so that I can add its children dynamically and refresh the view.
Any insight is highly appreciated.