I still have 2 small issues.
1) If i refresh the tree, the working pane gets empty. Then when again i select the image from the Images taskpane, the working pane does not show anything (though it shows when i select image from Projects taskpane).
I see that the selected browser always remains as Projects, and so iam able to see images even when i refresh.
But how to set the browser as Images, when i refresh the tree, so that i can display images from there ?
I have written code for setting the selected browser as the selected taskpane, when i expand it. It is written in the propertyChange method of the TreeViewerWin, and also i attached UIListeners in the TreeViewerControl.
I see that the Tags are getting their tree structure collapsed, when we refresh the tree. Then it works fine, when we expand the tree, as the UI is shown.
So is there a way, i can collapse the Images, when i refresh the tree, so that the objects will be shown in working pane correctly ?
2) Also, a little issue: when i select the image in working pane, it is not reflected in the Images taskpane, unlike it is getting reflected in the Projects taskpane.
Please Help.