private void selectChildren(final ExplorerNode parent,
                                final List<ExplorerNode> children,
                                final boolean select,
                                final Set<ExplorerNode> selectedSet) {
        if (children == null) {
            return;
        }

        for (final ExplorerNode child : children) {
            final boolean selectChildren = select || selectedSet.contains(parent) || selectedSet.contains(child);
            setSelected(child, selectChildren);
            selectChildren(child, child.getChildren(), selectChildren, selectedSet);
        }
    }
Get the set of selected items.

@return the set of selected items
stroom-core-client/src/main/java/stroom/explorer/client/presenter/TickBoxSelectionModel.java