Eclipse 3.1 M3 - Virtual TableViewer [message #446696] |
Tue, 30 November 2004 14:25  |
Eclipse User |
|
|
|
Originally posted by: eric.brenner.gd-ais.com
I was happy to see that the M3 build of Eclipse 3.1 included support for a
virtual table viewer.
I created a Table object using the SWT.VIRTUAL style and attached a
CheckboxTableViewer to it.
When the table initializes, it's still taking a big hit because it appears
to be loading ALL of the items rather than what is initially supposed to
be visible (ie 12 rows instead of 100,000).
Have any of you experimented with this?
|
|
|
|
Re: Eclipse 3.1 M3 - Virtual TableViewer [message #446719 is a reply to message #446698] |
Wed, 01 December 2004 10:10  |
Eclipse User |
|
|
|
Eric,
You should ask this on the eclipse.platform newsgroup since that is where
jface questions belong. My guess is that this is either a bug or a platform
limitation, but I could be wrong.
Grant
"Eric Brenner" <eric.brenner@gd-ais.com> wrote in message
news:coipe7$56s$1@www.eclipse.org...
> In the TableViewer class, there is an inner class "VirtualManager."
>
> This inner class has a function notVisibleAdded(Object, int).
>
> The initial hit comes into play when this function gets called and all of
> the table elements are jammed into the virtualElements HashMap.
>
> How is this a performance increase? The table is virtual, but the load
> time can be pretty bad when loading 100,000+ rows of data.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02420 seconds