Iam having a tree viewer in a view. I have a implemented a listener to the tree content provider. When some data changes, the tree is notified. But when iam trying to refresh my treeviewer, an error message comes and show that the tree is disposed. Whats the issue with my refreshing action and why the tree gets disposed.
Here i a snippet of my code.
getChildren()
{
resource.addListener(this);
}
public void dataChangeListener(changeddata)
{
tree.refresh(changedata,true); // Tree shows as disposed.
}
Regards, Girish