pluginManager.addPluginsFrom(ClassURI.PLUGIN(PlainConverterImpl.class));
pluginManager.addPluginsFrom(ClassURI.PLUGIN(CSVConverterImpl.class));
pluginManager.addPluginsFrom(ClassURI.PLUGIN(XMLConverterImpl.class));
pluginManager.addPluginsFrom(new File("plugins/").toURI());
final MainWindow mainWindow = new MainWindow(pluginManager);
mainWindow.setVisible(true);
final Collection<Converter> converters = pluginManagerUtil.getPlugins(Converter.class);
for (Converter converter : converters) {
mainWindow.registerHandler(converter);
}
}