Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » CheckboxTreeViwer in a GEF OutlineContentPage
CheckboxTreeViwer in a GEF OutlineContentPage [message #231200] Wed, 28 February 2007 14:20 Go to next message
Nacef is currently offline NacefFriend
Messages: 29
Registered: July 2009
Junior Member
Hi all,

I am developing a graphical chart viewer.

I have added an OutlineContentPage to show the content of my Editor. What
I want to hae is to put a CheckBoxTreeViewer instead of the classical
TreeViewer so I can select/deselect elements of the Editor to be displayed
or not.

Hope that it is clear. Really needing help to advance.

Thank you all
Re: CheckboxTreeViwer in a GEF OutlineContentPage [message #231313 is a reply to message #231200] Fri, 02 March 2007 16:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

Override TreeViewer#createControl() and create a tree with the SWT.CHECK
style.

"Nacef LABIDI" <nacef.l@gmail.com> wrote in message
news:8d7bc83a9634854490e5d2a4feeb3ce3$1@www.eclipse.org...
> Hi all,
>
> I am developing a graphical chart viewer.
>
> I have added an OutlineContentPage to show the content of my Editor. What
> I want to hae is to put a CheckBoxTreeViewer instead of the classical
> TreeViewer so I can select/deselect elements of the Editor to be displayed
> or not.
>
> Hope that it is clear. Really needing help to advance.
>
> Thank you all
>
Re: CheckboxTreeViwer in a GEF OutlineContentPage [message #231635 is a reply to message #231313] Tue, 13 March 2007 22:52 Go to previous message
Nacef is currently offline NacefFriend
Messages: 29
Registered: July 2009
Junior Member
I have tried to verride TreeViewer#createControl() and create a tree with
the SWT.CHECK style.

now I have my TreeViewer with the checkboxes, but now what I want is when
I check/uncheck a node in this TreeViewer, I want all its children to be
checked/unchecked. I can't find a way to do this.
Previous Topic:Big Performance Issue - Hit Testing on Editor Activation
Next Topic:Adding a Panel to the bottom of the Editor
Goto Forum:
  


Current Time: Fri Mar 29 12:43:24 GMT 2024

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

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

Back to the top