if (StringUtils.isNullOrEmpty(nameOfDatastore)) {
JOptionPane.showMessageDialog(DatastoreSynonymCatalogDialog.this, "Please select a character encoding");
return;
}
Column selectedItem = _masterTermColumnComboBox.getSelectedItem();
String[] synonymColumnNames = _synonymColumnsPanel.getColumnNames();
DatastoreSynonymCatalog dataStoreBasedSynonymCatalog = new DatastoreSynonymCatalog(name, nameOfDatastore,
selectedItem.getQualifiedLabel(), synonymColumnNames);
if (_originalsynonymCatalog != null) {
_mutableReferenceCatalog.removeSynonymCatalog(_originalsynonymCatalog);
}