}
private void setupContent( final NavigatorContent content ) {
int base = navigator.getRowCount();
for ( int i = 0; i < content.getContent().size(); i++ ) {
final DataContent dataContent = content.getContent().get( i );
if ( dataContent.isDirectory() && options.showDirectories() ) {
createDirectory( base + i, dataContent );
} else if ( options.showFiles() ) {
if ( !options.showHiddenFiles() && !hiddenTypeDef.accept( dataContent.getPath() ) ) {
createFile( base + i, dataContent );
} else if ( options.showHiddenFiles() ) {
createFile( base + i, dataContent );
}
}