Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » setSelection on virtual Tree VERY slow
setSelection on virtual Tree VERY slow [message #309987] Tue, 14 November 2006 10:25
Eclipse UserFriend
Hi,

I'm trying to set the selection on a Virtual JFace TreeViewer (there can
be 200,000+ items in the tree). The selection is a more or less random
distribution through out the tree and can be any number of items.

The naive approach is very slow:

viewer.setSelection ( new StructuredSelection (list), false ) // or true

I was wondering if there is a "virtual" selection so that it doesn't
need to call setToWidget for every item in the selection. It could do
it when the items are being shown instead.

Do I have to implement this?

(Hope this is the correct list)

Thanks,

Jesse
Previous Topic:How to open "Help Contents" in Solaris
Next Topic:[Activities] how to use activityPatternBinding's with one's own newly-defined extension-point?
Goto Forum:
  


Current Time: Wed Jul 16 20:28:27 EDT 2025

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

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

Back to the top