boolean (final String id, final boolean checked) { TreeNode root = (TreeNode)getModel().getRoot(); return !TreeUtil.traverse(root, node -> { if (node instanceof FrameworkSupportNode && id.equals(((FrameworkSupportNode)node).getId())) { ((FrameworkSupportNode)node).setChecked(checked); return false; } return true; }); }