Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Eclipse 3.1 M3 - Virtual TableViewer
Eclipse 3.1 M3 - Virtual TableViewer [message #446696] Tue, 30 November 2004 14:25 Go to next message
Eclipse UserFriend
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 16:41 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Eclipse 3.1 M3 - Virtual TableViewer [message #446719 is a reply to message #446698] Wed, 01 December 2004 10:10 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:CompositeImageDescriptor
Next Topic:Gnome and Tray
Goto Forum:
  


Current Time: Wed Jul 23 14:46:21 EDT 2025

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

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

Back to the top