Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Removing LazyLoading of TreeViewer
Removing LazyLoading of TreeViewer [message #242800] Tue, 11 December 2007 13:34
Eclipse UserFriend
Originally posted by: john.ha.com

Hi All,

I am having a problem regarding selection in the TreeViewer.

I had implemented all the methods like getParent, getChildren, getElements
...

properly in the ContentProvider.

I am establishing the relationship of the parent and child for the
elements which i am displaying , in the contentProviders getChildren
Method.

So untill and unless getChildren method is fired on a particular treeItem
the parent and child relationship is not established for my TreeItems.

So for me only available option is if i expand the whole tree and one go,
the getChildren method will be fired for all the TreeItems.

My treeviewer is consisting of around 5,00,000 to 50,00,000 items when i
do expandAll on my TreeViewer it is taking lot of time so i cant do it.

Another possibility for me is if i am successful in eliminating the
lazyloading of a treeviewer then getChildren method will be fired for all
the elements of my tree, and without doing expandAll my work will be done.

So can you plz suggest me how to approach this problem. Is there any
possibility that I can avoid the lazyloading of a tree.....

Regards,

John
Previous Topic:Find the current caret position in a TextEditor
Next Topic:WTP Total Newbie
Goto Forum:
  


Current Time: Wed Jul 17 14:11:13 GMT 2024

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

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

Back to the top