"<html><b>Text file synonym catalog</b><br/>Synonyms from a file with master terms and comma-separated synonyms.</html>");
textFileSynonymCatalogButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
Injector injector = _injectorBuilder.with(TextFileSynonymCatalog.class, null).createInjector();
TextFileSynonymCatalogDialog dialog = injector.getInstance(TextFileSynonymCatalogDialog.class);
dialog.setVisible(true);
}
});
final JButton datastoreSynonymCatalogButton = createButton(IconUtils.SYNONYM_CATALOG_DATASTORE_IMAGEPATH,
"<html><b>Datastore synonym catalog</b><br/>Synonym catalog based on columns in a registered datastore.</html>");
datastoreSynonymCatalogButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
Injector injector = _injectorBuilder.with(DatastoreSynonymCatalog.class, null).createInjector();
DatastoreSynonymCatalogDialog dialog = injector.getInstance(DatastoreSynonymCatalogDialog.class);
dialog.setVisible(true);
}
});
final HelpIcon helpIcon = new HelpIcon("<b>Synonym catalogs</b><br>"
+ "A synonym catalog is reference data used for replacing odd values with correct ones. "