Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Is it possible to "reset" TableItems in virtual table ?
Is it possible to "reset" TableItems in virtual table ? [message #449132] Tue, 18 January 2005 16:25 Go to next message
Yves Harms is currently offline Yves HarmsFriend
Messages: 80
Registered: July 2009
Member
Hi,
is it possible to reset/release stale Tablettems that are no longer
visible ?

I want for example to release Item 0-40 when 1000-10040 are visible.
When scolling back the table should consider the resetted rows as empty
an issue an setdata event.

(This is needed for a tweak for the TableViewer to allow dropping of
already loaded input elements. I know the label String won't make much
difference in memory usage, but the elements do.)

Regards,
Yves
Re: Is it possible to "reset" TableItems in virtual table ? [message #449140 is a reply to message #449132] Tue, 18 January 2005 18:53 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Use Table.clear(int, int).


"Yves Harms" <user@domain.invalid> wrote in message
news:csjd7s$fhl$1@www.eclipse.org...
> Hi,
> is it possible to reset/release stale Tablettems that are no longer
> visible ?
>
> I want for example to release Item 0-40 when 1000-10040 are visible.
> When scolling back the table should consider the resetted rows as empty an
> issue an setdata event.
>
> (This is needed for a tweak for the TableViewer to allow dropping of
> already loaded input elements. I know the label String won't make much
> difference in memory usage, but the elements do.)
>
> Regards,
> Yves
Previous Topic:Are virtual tables supported under Linux-GTK
Next Topic:test
Goto Forum:
  


Current Time: Fri Nov 22 03:06:01 GMT 2019

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

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

Back to the top