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:JFace Treviewer: How to handle a "Post"-Collapse/-Expand in TreeViewer
Next Topic:Export TableViewer data to a file
Goto Forum:

Current Time: Mon Nov 30 08:18:46 GMT 2015

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

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