Swt: Virtual+Checked Tables

View: New views
2 Messages — Rating Filter:   Alert me  

Swt: Virtual+Checked Tables

by fab|an :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 this might interest you: https://bugs.eclipse.org/bugs/show_bug.cgi?id=207662.
If I understand correctly it is somehow possible to create an EventTableViewer backed by a "checked list" which will get initialized with the check-states of the list.
The problem with this is, that when setChecked is called you have to call SWT.SetData manually, as it isn't called anymore by the VirtualTableHandler.

fabian


Re: Swt: Virtual+Checked Tables

by Holger Brands :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So our checkable table support doesn't play nicely with
virtual tables. When EventTableViewer registers itself as listener
with the TableCheckFilterList, the TableChecker iterates over
every table item and sets the checked-flag.
In case of a virtual table, the checked-flag should only be set
at the time, when the table item is "materialized" in the VirtualTableHandler.

I've entered an issue for that here:
https://glazedlists.dev.java.net/issues/show_bug.cgi?id=418

Holger

>
>
> Hi,
>  this might interest you:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=207662.
> If I understand correctly it is somehow possible to create an
> EventTableViewer backed by a "checked list" which will get initialized with
> the check-states of the list.
> The problem with this is, that when setChecked is called you have to call
> SWT.SetData manually, as it isn't called anymore by the VirtualTableHandler.
>
> fabian
>
>
> --
> View this message in context: http://www.nabble.com/Swt%3A-Virtual%2BChecked-Tables-tf4843028.html#a13855558
> Sent from the GlazedLists - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>


_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...