Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nebula-dev] Lazy initialisation of grid


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" <jonathan.alvarsson@xxxxxxxxx>
To: "Nebula Dev" <nebula-dev@xxxxxxxxxxx>
Date: 08/08/2007 05:36 AM
Subject: Re: [nebula-dev] Lazy initialisation of grid




On 8/7/07, Christopher J Gross <chris.gross@xxxxxxxxxx> 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-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/nebula-dev


Back to the top