Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Lazy Tree get/setExpandedElements not Working
Lazy Tree get/setExpandedElements not Working [message #261346] Tue, 13 July 2004 18:22 Go to next message
Eclipse UserFriend
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
Re: Lazy Tree get/setExpandedElements not Working [message #1689342 is a reply to message #261346] Mon, 23 March 2015 07:12 Go to previous message
Eclipse UserFriend
Hi Tommy was this fix? i have the same problem..
Previous Topic:Fabric SDK for Twitter in Eclipse Juno
Next Topic:Access source bundles for unpacked plugins with a code-jar
Goto Forum:
  


Current Time: Thu May 29 08:52:51 EDT 2025

Powered by FUDForum. Page generated in 0.09820 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top