CheckboxTableViewer - disabling checkboxes [message #304773] |
Wed, 14 June 2006 23:14 |
Eclipse User |
|
|
|
Originally posted by: aparasur.ugs.com
Hi,
How do I disable checkboxes in a CheckboxTableViewer? I tried using
viewer.setGrayed( object, true);
method, but I am still able to check/uncheck the checkbox.
What else needs to be done?
I am using Eclipse 3.2 RC3.
Thanks in advance.
-Arvind
|
|
|
|
|
Re: CheckboxTableViewer - disabling checkboxes [message #305146 is a reply to message #304954] |
Fri, 23 June 2006 19:26 |
Eclipse User |
|
|
|
Originally posted by: aparasur.ugs.com
Yes, that is what I ended up doing too. Seems like a bug though.
-Arvind
"Roland Tepp" <roland@videobet.com> wrote in message
news:e78clb$269$1@utils.eclipse.org...
> Well..
>
> I've used setGrayed and added a CheckStateListener (?) that cancelles
> (actually reverts) the chack state change event every time the item that
> spawned an event is grayed.
>
> Works beautifully
>
> Arvind Parasuram kirjutas mulle midagi seesugust:
>> Hi,
>> How do I disable checkboxes in a CheckboxTableViewer? I tried using
>> viewer.setGrayed( object, true);
>> method, but I am still able to check/uncheck the checkbox.
>> What else needs to be done?
>> I am using Eclipse 3.2 RC3.
>>
>> Thanks in advance.
>> -Arvind
>>
>>
>
> --
> Roland Tepp
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03829 seconds