Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Is there something such as a Jface Viewer CheckStateProvider
Is there something such as a Jface Viewer CheckStateProvider [message #327754] Wed, 30 April 2008 13:35 Go to next message
Eclipse UserFriend
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 14:42 Go to previous message
Boris Bokowski is currently offline Boris BokowskiFriend
Messages: 272
Registered: July 2009
Senior Member
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
Previous Topic:[databinding] Globally convert all empty strings to null
Next Topic:May I customize Problems view for markers?
Goto Forum:
  


Current Time: Fri Nov 08 22:42:30 GMT 2024

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

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

Back to the top