Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » CheckboxTreeViewer don't show expand node icon
CheckboxTreeViewer don't show expand node icon [message #1148889] Mon, 21 October 2013 20:23
Phil H is currently offline Phil HFriend
Messages: 267
Registered: November 2012
Senior Member

I recently implemented a CheckboxTreeViewer in my own Dialog. This works fine so far except that the tree don't allow me to expand nodes by default. It only works when I check the checkbox, as you can see in the following images:

This is by default. As you can see, it's not pissble to expand the node, though it has childrens:

After cheking the check box, it works:

I alrady tried to use setExpandPreCheckFilters , but with no succes:

Composite container = (Composite) super.createDialogArea(parent);
	tv = new CheckboxTreeViewer(container, SWT.MULTI | SWT.H_SCROLL| SWT.V_SCROLL);
	GridData gridData = new GridData(GridData.FILL_BOTH);
	tv.setContentProvider(new FeaturePropertyDialogContentProvider());
	tv.setLabelProvider(new FeaturePropertyDialogLabelProvider());

Any ideas?
Previous Topic:NPE at editor opening from toolbar
Next Topic: How change node background color of a disabled Tree-Viewer.
Goto Forum:

Current Time: Fri Aug 14 18:55:14 GMT 2020

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

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

Back to the top