Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » CheckboxTableViewer - disabling checkboxes
CheckboxTableViewer - disabling checkboxes [message #304773] Wed, 14 June 2006 23:14 Go to next message
Eclipse UserFriend
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 #304912 is a reply to message #304773] Mon, 19 June 2006 08:15 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
I'd log a feature request if this is not possible.

Tom

Arvind Parasuram schrieb:
> 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 #304954 is a reply to message #304773] Tue, 20 June 2006 08:46 Go to previous messageGo to next message
Roland Tepp is currently offline Roland TeppFriend
Messages: 336
Registered: July 2009
Senior Member
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
Re: CheckboxTableViewer - disabling checkboxes [message #305146 is a reply to message #304954] Fri, 23 June 2006 19:26 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: CheckboxTableViewer - disabling checkboxes [message #305192 is a reply to message #305146] Mon, 26 June 2006 07:52 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Once more please log a feature/bug request to BugZilla at
https://bugs.eclipse.org/bugs/enter_bug.cgi

Tom


Arvind Parasuram schrieb:
> 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
>
>
Re: CheckboxTableViewer - disabling checkboxes [message #305198 is a reply to message #305146] Mon, 26 June 2006 09:31 Go to previous message
Roland Tepp is currently offline Roland TeppFriend
Messages: 336
Registered: July 2009
Senior Member
I'm not shure that "grayed" should automatically mean "disabled".

The way I see it, the "grayed" is often used as a "third state", usually
meaning "partially selected" (specially evident with checked trees).

Arvind Parasuram kirjutas mulle midagi seesugust:
> 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
>
>

--
Roland Tepp
Previous Topic:PageBook and TreeViewer
Next Topic:Is there any built-in API in Eclipse to support Radar Views?
Goto Forum:
  


Current Time: Fri Mar 29 01:06:08 GMT 2024

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

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

Back to the top