Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Checkbox in a TreeViewer column - How?(how to add checkbox functionality into a TreeViewer column)
Checkbox in a TreeViewer column - How? [message #902054] Wed, 15 August 2012 16:32 Go to next message
Glenn Dollard is currently offline Glenn Dollard
Messages: 61
Registered: July 2009
Member
Hi,
Can you anyone tell me if it's possible to add a CheckBox to a column/cell within a TableViewer? I have seen examples where images are used to indicate a checkbox but I don't want this, I want a typical checkbox that can be checked/unchecked.

I know I can do this using a Table (using TableEditor) but I can't get it working for my TableViewer.

Any pointers would be appreciated.
Thanks.
Re: Checkbox in a TreeViewer column - How? [message #902055 is a reply to message #902054] Wed, 15 August 2012 16:48 Go to previous messageGo to next message
Glenn Dollard is currently offline Glenn Dollard
Messages: 61
Registered: July 2009
Member
OK, my bad. I stupidly didn't realise I could use the SWT.CHECK option! Shocked
Re: Checkbox in a TreeViewer column - How? [message #911764 is a reply to message #902055] Wed, 12 September 2012 09:22 Go to previous message
neetika markanday is currently offline neetika markanday
Messages: 5
Registered: February 2012
Junior Member
Hi Glenn,

did this work for you??Can yo tell me the snipette.Its actually not working for me Confused
Previous Topic:Issues with ObservableListTreeContentProvider
Next Topic:Regarding Focus event
Goto Forum:
  


Current Time: Tue Sep 23 00:20:57 GMT 2014

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

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