*/
public boolean isColumnDisplayable(Column column) {
// Check this against the children's file implementation whenever possible: certain file implementations may
// return different values for the current folder than for its children. For instance, this is the case for file
// protocols that have a special file implementation for the root folder (s3 is one).
AbstractFile file = getFileTableModel().getFileAt(0);
if(file==null)
file = folderPanel.getCurrentFolder();
// The Owner and Group columns are displayable only if current folder has this information
if(column==Column.OWNER) {
return file.canGetOwner();
}
else if(column==Column.GROUP) {
return file.canGetGroup();
}
return true;
}