Is there something such as a Jface Viewer CheckStateProvider [message #327754] |
Wed, 30 April 2008 09:35  |
Eclipse User |
|
|
|
Originally posted by: james.barnes.daishoblacksmith.com
Hi there,
I've got a CheckboxTableViewer.
The table viewer has a content provider and a label provider.
This all works fine.
However, when I come to set the check state on various items in my
table, i find i have to go and do that manually instead of using some
sort of "CheckStateProvider".
Given the fairly extensive use of Trees and Tables with checkboxes in
eclipse I would have thought there would be something like this available.
Am I looking in the wrong places or isn't there such a thing and why not?!?
cheers,
jim
|
|
|
Re: Is there something such as a Jface Viewer CheckStateProvider [message #327810 is a reply to message #327754] |
Fri, 02 May 2008 10:42  |
Eclipse User |
|
|
|
The data binding framework has something that you might find useful, see
ViewersObservables.observeCheckedElements() - it is new in 3.4 though.
Boris
"James Barnes" <james.barnes@daishoblacksmith.com> wrote in message
news:fv9sj1$8fd$1@build.eclipse.org...
> Hi there,
>
> I've got a CheckboxTableViewer.
> The table viewer has a content provider and a label provider.
>
> This all works fine.
>
> However, when I come to set the check state on various items in my table,
> i find i have to go and do that manually instead of using some sort of
> "CheckStateProvider".
>
> Given the fairly extensive use of Trees and Tables with checkboxes in
> eclipse I would have thought there would be something like this available.
>
> Am I looking in the wrong places or isn't there such a thing and why
> not?!?
>
> cheers,
> jim
|
|
|
Powered by
FUDForum. Page generated in 0.03586 seconds