|preserving expansion in DeferredTreeContentManager [message #556503]
||Wed, 01 September 2010 15:21
| Natasha D'Silva
Registered: July 2009
I have tried to do this by creating my own subclass of the DeferredTreeContentManager, and after the children are added to the tree, I try to restore expansion, but I can only get one level deep - the problem is that I can only get expansion to one level deep when I use TreeViewer#setExpandedState. |
If I have a tree path of depth 4 and I want to expand to the 3rd element, only the root of the tree is expanded because the retrieval of the other children is not immediate and on a job - the attempt to preserve expansion shows only the placeholder element as a child and cannot expand further.
Is there a reliable way to do preserve expansion state when using deferred content provider?
[Updated on: Wed, 01 September 2010 15:21]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.04260 seconds