[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] setSelection on virtual Tree VERY slow
|
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