Hi, I'm trying to display a CheckBoxTree with digin mode enabled but I can't find a way to display some non-leaf nodes partially checked.
Either all nodes are checked or none is checked.
I have tried to use CheckBoxTree.getCheckBoxTreeSelectionModel().addSelectionPath(TreePath path)
and CheckBoxTree.getCheckBoxTreeSelectionModel().setSelectionPaths(TreePath[] paths) to set which nodes should be checked but with digIn enabled all nodes become checked.
I need to be able to display a tree like this:
x
|-x
| |-x
| |-0
| |-x
|
|-x
|-x
| |-x
| |-x
| |-0
Where x means a checked (or partially checked parent) node and 0 means unchecked nodes.
I still need the digIn functionality so the user can check/uncheck complete subtrees with one click.