setSelection on virtual Tree VERY slow [message #309987] |
Tue, 14 November 2006 10:25 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.25807 seconds