lRefreshingList.setVisible(isLocal());
}
errorPane.setVisible(false);
// This is done to perform checks against whether we require to
// display an error message or not.
configurationChanged(new ConfigurationChangeEvent(null,
getInfo().getServerDescriptor()));
}
else
{
model.fireTableDataChanged();
boolean displayError = true;
if (t instanceof OpenDsException)
{
OpenDsException e = (OpenDsException)t;
if (e.getMessageObject().getDescriptor().equals(
ERR_BACKUPDIRECTORY_NO_DESCRIPTOR_FILE))
{
displayError = false;
}
}
if (displayError)
{
Message details = ERR_RESTOREDB_CANNOT_READ_BACKUP_DIRECTORY.get(
parentDirectory.getText(), StaticUtils.getExceptionMessage(t));
updateErrorPane(errorPane,
ERR_ERROR_SEARCHING_BACKUPS_SUMMARY.get(),
ColorAndFontConstants.errorTitleFont,
details,
errorPane.getFont());
packParentDialog();
}
errorPane.setVisible(displayError);
if (!displayError)
{
// This is done to perform checks against whether we require to
// display an error message or not.
configurationChanged(new ConfigurationChangeEvent(null,
getInfo().getServerDescriptor()));
}
lRefreshingList.setText(NO_BACKUPS_FOUND.toString());
}