}
@Override
public SpanElement renderNodeContents(FileTreeNode data) {
if (data.isDirectory()) {
DirInfo dir = (DirInfo) data;
return renderNodeContents(css, data.getName(), data.isFile(), dir.isPackage(), fileTypes, mouseDownListener, true);
} else {
return renderNodeContents(css, data.getName(), data.isFile(), false, fileTypes, mouseDownListener, true);
}
}