Lazy Tree get/setExpandedElements not Working [message #261346] |
Tue, 13 July 2004 18:22  |
Eclipse User |
|
|
|
Originally posted by: nex8.gmx.net
Hello!
I am using the new lazy tree feature from the org.eclipse.ui.example.jobs.
It works great, but I experience difficulties when trying to restore the
state of expanded nodes after a refresh.
public void refresh() {
Object[] expandedElements = this.viewer.getExpandedElements();
this.viewer.refresh();
this.viewer.setExpandedElements(expandedElements);
}
After the view.refresh() all nodes are collapsed and not in the original
expanded state. So the get/setExpandedElements method seems not to
work here.
Any help / workaround greatly appreciated.
Tommy
|
|
|
|
Powered by
FUDForum. Page generated in 0.09820 seconds