}
}
}
private void saveCollapsedPaths(JFilterableTreeComponent selector) {
JFilterableTreeTable treeTable = selector.getTreeTable();
List<String> collapsedPaths = new ArrayList();
for (int row = treeTable.getRowCount(); row-- > 0;) {
TreePath path = treeTable.getPathForRow(row);
Object node = path.getLastPathComponent();
if (treeTable.getTree().getModel().isLeaf(node) == false
&& treeTable.getTree().isExpanded(path) == false) {
collapsedPaths.add(taskProvider.getPathForTreeNode(node));
}
}
String setting = (collapsedPaths.isEmpty() ? null : StringUtils.join(
collapsedPaths, "\t"));