Eclipse 3.1 M3 - Virtual TableViewer [message #446696] |
Tue, 30 November 2004 19: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 #446698 is a reply to message #446696] |
Tue, 30 November 2004 21:41 |
Eclipse User |
|
|
|
Originally posted by: eric.brenner.gd-ais.com
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.03284 seconds