{
if(!hasNodeCheckedChildren(nodeObject))
checkedNodes.getObject().remove(nodeObject);
}
ancestor = ancestor.findParent(BranchItem.class);
}
}
protected boolean hasNodeCheckedChildren(T nodeObject) {
Iterator<? extends T> children = treeProvider.getChildren(nodeObject);