I am using common navigator framework(CNF) for my project explorer view. I have set the content provider and label provider for the tree viewer. When a data changes internally in my application, i need to update the tree view also(eg. just like adding nodes, deleting nodes).
For this case, i tried to refresh the tree viewer. And the refresh operation works successfully. But after the refresh operation, the tree viewers selection get to the top most parent node in the viewer. But instead, i need the selection on the newly added node or the parent node of the newly added node. How can this be achieved?