final Book book = ss.getBook();
if (book == null) {
return;
}
final ArrayList<DefaultTreeNode> nodes = new ArrayList<DefaultTreeNode>();
Utils.visitSheets(book, new SheetVisitor(){
@Override
public void handle(Sheet sheet) {
nodes.add(new DefaultTreeNode(sheet.getSheetName(), Collections.EMPTY_LIST));
}});