[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] JFace TableViewer with VIRTUAL sample
|
Indeed, I can see Veronika's reply on the mailing list archives. However, I
don't remember having read a mail with it. But I might be wrong :-)
Thanks for the reply.
Regards,
Robert
PS: Sorry for the misplaced JFace post. I'm putting it to the right mailing
list. Thanks for the help.
--- Carolyn MacLeod <Carolyn_MacLeod@xxxxxxxxxx> wrote:
> You should have received Veronika's Jan 20th reply.
> Here it is again:
>
> Support for Table with the style VIRTUAL is only just now being added to
> JFace. Not 100% sure of the date when full support will be in place -
> you need to ask this on the eclipse.platform newsgroup.
>
> Carolyn
>
>
>
>
> Robert Enyedi <renyedi@xxxxxxxxx>
> Sent by: platform-swt-dev-admin@xxxxxxxxxxx
> 01/26/2005 01:54 AM
> Please respond to
> platform-swt-dev
>
>
> To
> platform-swt-dev@xxxxxxxxxxx
> cc
>
> Subject
> Re: [platform-swt-dev] JFace TableViewer with VIRTUAL sample
>
>
>
>
>
>
> Hmm, is there anyone reading/monitoring this mailing list? ...
>
> --- Robert Enyedi <renyedi@xxxxxxxxx> wrote:
>
> > Hi,
> >
> > I've been extremely pleased to see the VIRTUAL flag support added for
> the
> > JFace
> > TableViewer starting with 3.1M3. It is very required to have well
> performing
> > tables in JFace.
> >
> > My problem is that I cannot figure out how to use this feature. Or maybe
> I've
> > found a bug.
> >
> > I created a sample view with a TableViewer in it using the Eclipse
> plug-in
> > creation wizard. In the resulting code I changed three things:
> >
> > 1. The TableViewer is created with the VIRTUAL flag:
> >
> > new TableViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL |
> > SWT.VIRTUAL)
> >
> > 2. The view content provider's getElements() method returns an array of
> > 100,000
> > Strings.
> >
> > 3. I removed the sorter.
> >
> > While the content is created in 1-2 seconds, when the VIRTUAL flag is
> set,
> > the
> > display of the content takes a lot (around 1 minute). However, if the
> VIRTUAL
> > flag is not specified, the display is much faster (but not that fast -
> around
> > 5-6 seconds).
> >
> > What am I doing wrong? Why doesn't the VIRTUAL flag reduce the display
> time
> > to
> > around 1-2 seconds? Isn't this what it's supposed to do?
> >
> > Regards,
> > Robert
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - 250MB free storage. Do more. Manage less.
> > http://info.mail.yahoo.com/mail_250
> > _______________________________________________
> > platform-swt-dev mailing list
> > platform-swt-dev@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com