List Info

Thread: Re: Lazy initialisation of grid




Re: Lazy initialisation of grid
country flaguser name
United States
2007-08-08 09:33:47

Hi Jonathan,

It works for me.  Can you explain further or provide a reproducible snippet?  Did you pass SWT.VIRTUAL?

Regards,
-Chris


From: "Jonathan Alvarsson&quot; <jonathan.alvarssongmail.com&gt;
To: "Nebula Dev" <nebula-deveclipse.org>
Date: 08/08/2007 05:36 AM
Subject: Re: [nebula-dev] Lazy initialisation of grid




On 8/7/07, Christopher J Gross <us.ibm.com>chris.grossus.ibm.com> wrote:

Hi Jonathan,


The Grid supports SWT.VIRTUAL that would primarily work for your scenario.  The virtual functionality will work like Table.  This will tell you when a row's data is required.  This should likely be enough but does not have a method to let you know when you can release data that is no longer necessary.  It is something you could reasonably do yourself.  Perhaps just set a limit on the # of model classes you want at any given time and when new data is required, release the least recently accessed models to make room.  


Regards,

-Chris


I have tried this out but it doesn't seem as the SWT.SetData event fires. Is this feature not implemented yet?

--
// Jonathan
_______________________________________________
nebula-dev mailing list
nebula-deveclipse.org
https://dev.eclipse.org/mailman/listinfo/nebula-dev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )