String[] options = {okOption, "Cancel"};
int response = Messages.showDialog(message, Constants.DBN_TITLE_PREFIX + "No valid Connection / Schema", options, 0, Messages.getWarningIcon());
if (response == 0) {
SelectConnectionDialog selectConnectionDialog = new SelectConnectionDialog(file);
selectConnectionDialog.show();
return selectConnectionDialog.getExitCode() == SelectConnectionDialog.OK_EXIT_CODE;
} else {
return false;
}
} else {
return true;