Hi,
i want to display parent and child elements using JFace TreeViewer.
When I am displaying parent and child all at once, its working fine.
But I want the child to be added only after expanding the parent element.
The refresh() method is working fine when
ISelectionChangedListener.selectionChanged()
method is called,
but gives error on calling TreeListener.treeExpanded() method
treeStatute.addTreeListener(new ITreeViewerListener() {
@Override
public void treeExpanded(TreeExpansionEvent event) {
}
});
[Updated on: Sun, 30 September 2012 03:29]
Report message to a moderator