Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » CheckboxTreeViewer selective controls?
CheckboxTreeViewer selective controls? [message #455458] Sun, 15 May 2005 22:30 Go to next message
Macneil Shonle is currently offline Macneil ShonleFriend
Messages: 17
Registered: July 2009
Junior Member
Is there a way I can have a CheckboxTreeViewer that only gives some of the
list items a checkbox control? I want one "folder" of the tree to have
checkboxes, but to exclude other folders from doing so.

Thanks!
Re: CheckboxTreeViewer selective controls? [message #455633 is a reply to message #455458] Wed, 18 May 2005 16:51 Go to previous messageGo to next message
Macneil Shonle is currently offline Macneil ShonleFriend
Messages: 17
Registered: July 2009
Junior Member
Does anyone have an answer to this? (Perhaps I shouldn't post questions on
the weekend?) Thanks.
Re: CheckboxTreeViewer selective controls? [message #455640 is a reply to message #455458] Wed, 18 May 2005 18:39 Go to previous messageGo to next message
Emil Crumhorn is currently offline Emil CrumhornFriend
Messages: 169
Registered: July 2009
Senior Member
It's either all or nothing I'm afraid. As far as I know you can't
selectively have certain items with checkboxes and some not. I guess a way
around it would be to use an image that looks as a checkbox, but I know
that's not what you want to hear.

Emil

"Macneil Shonle" <mshonle@cs.ucsd.edu> wrote in message
news:249e63661710f42d3a5c13e249a411c4$1@www.eclipse.org...
> Is there a way I can have a CheckboxTreeViewer that only gives some of the
> list items a checkbox control? I want one "folder" of the tree to have
> checkboxes, but to exclude other folders from doing so.
>
> Thanks!
>
Re: CheckboxTreeViewer selective controls? [message #455900 is a reply to message #455640] Sun, 22 May 2005 04:58 Go to previous message
Macneil Shonle is currently offline Macneil ShonleFriend
Messages: 17
Registered: July 2009
Junior Member
Emil Crumhorn wrote:

> It's either all or nothing I'm afraid. As far as I know you can't
> selectively have certain items with checkboxes and some not. I guess a way
> around it would be to use an image that looks as a checkbox, but I know
> that's not what you want to hear.

Thanks... I think I'll just try to grey out the checkboxes and make them
look disabled.

-Macneil

> Emil

> "Macneil Shonle" <mshonle@cs.ucsd.edu> wrote in message
> news:249e63661710f42d3a5c13e249a411c4$1@www.eclipse.org...
>> Is there a way I can have a CheckboxTreeViewer that only gives some of the
>> list items a checkbox control? I want one "folder" of the tree to have
>> checkboxes, but to exclude other folders from doing so.
>>
>> Thanks!
>>
Previous Topic:Restoring a Minimized Shell Programmatically
Next Topic:Button and Combo colors...
Goto Forum:
  


Current Time: Sat Apr 27 04:47:59 GMT 2024

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

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

Back to the top