"<html><b>Text file dictionary</b><br/>A dictionary based on a text file on your filesystem.</html>");
textFileDictionaryButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
Injector injector = _injectorBuilder.with(TextFileDictionary.class, null).createInjector();
TextFileDictionaryDialog dialog = injector.getInstance(TextFileDictionaryDialog.class);
dialog.open();
}
});
final JButton simpleDictionaryButton = createButton(IconUtils.DICTIONARY_SIMPLE_IMAGEPATH,
"<html><b>Simple dictionary</b><br/>A dictionary written and stored directly in DataCleaner.</html>");
simpleDictionaryButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
Injector injector = _injectorBuilder.with(SimpleDictionary.class, null).createInjector();
SimpleDictionaryDialog dialog = injector.getInstance(SimpleDictionaryDialog.class);
dialog.open();
}
});
final JButton datastoreDictionaryButton = createButton(IconUtils.DICTIONARY_DATASTORE_IMAGEPATH,
"<html><b>Datastore dictionary</b><br/>Dictionary based on a column in a datastore.</html>");
datastoreDictionaryButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
Injector injector = _injectorBuilder.with(DatastoreDictionary.class, null).createInjector();
DatastoreDictionaryDialog dialog = injector.getInstance(DatastoreDictionaryDialog.class);
dialog.open();
}
});
final HelpIcon helpIcon = new HelpIcon("<b>Dictionaries</b><br>"
+ "A dictionary is a set of values that grouped together represent a named set of values,"