Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Lazy Tree get/setExpandedElements not Working
Lazy Tree get/setExpandedElements not Working [message #261346] Tue, 13 July 2004 22: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 11:12 Go to previous message
Ken Mersado is currently offline Ken MersadoFriend
Messages: 19
Registered: October 2014
Junior Member
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: Wed May 15 04:01:32 GMT 2024

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

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

Back to the top