return result.getURL();
}
protected FileTableConfiguration getFileTableConfiguration(FolderPanelType folderPanelType, int window) {
FileTableConfiguration conf;
conf = new FileTableConfiguration();
// Loop on columns
for(Column c : Column.values()) {
if(c!=Column.NAME) { // Skip the special name column (always visible, width automatically calculated)
// Sets the column's initial visibility.
conf.setEnabled(c,
MuConfigurations.getSnapshot().getVariable(
MuSnapshot.getShowColumnVariable(window, c, folderPanelType == FolderPanelType.LEFT),
c.showByDefault()
)
);
// Sets the column's initial width.
conf.setWidth(c, MuConfigurations.getSnapshot().getIntegerVariable(MuSnapshot.getColumnWidthVariable(window, c, folderPanelType == FolderPanelType.LEFT)));
}
// Sets the column's initial order
conf.setPosition(c, MuConfigurations.getSnapshot().getVariable(
MuSnapshot.getColumnPositionVariable(window, c, folderPanelType == FolderPanelType.LEFT),
c.ordinal())
);
}