Community
Participate
Working Groups
Currently, when we use the dialog CheckedTreeSelectionDialog, we can' t specify the style of the TreeViewer. The TreeViewer have always the style SWT.BORDER. In my case, I need to change this style ( SWT.BORDER | SWT.FULL_SELECTION). At the beginning, I wanted to override the method createTreeViewer, but it's not possible, because some field are not accessible because they are in private. I propose to you to add a new constructor, with a new parameter int style. This style will be used to instantiate the TreeViewer.
Created attachment 192563 [details] Add the possibility to choose the style of the TreeViewer for CheckedTreeSelectionDialog (1) I, Vincent Lorenzo, wrote 100% of the code I've provided. (2) This code contains no cryptography (3) I have the right to contribute the code to Eclipse. (4) I contribute the content under the EPL.
Released with minor mods: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=27a987a40ef6dca83ede1e757fd579b4fc0091b8 Thanks Vincent. PW
I've confirmed it on my end in 4.3.0.I20130311-2000. Vincent, you should check it's usable in a build as well. PW