use of net.sourceforge.nattable.columnChooser.ColumnGroupEntry in project translationstudio8 by heartsome.
the class ColumnChooserDialog method expandAllLeaves.
public void expandAllLeaves() {
List<TreeItem> allLeaves = ArrayUtil.asList(selectedTree.getItems());
for (TreeItem leaf : allLeaves) {
if (isColumnGroupLeaf(leaf)) {
ColumnGroupEntry columnGroupEntry = (ColumnGroupEntry) leaf.getData();
leaf.setExpanded(!columnGroupEntry.isCollapsed());
}
}
}
Aggregations