final File importFile = fileChooser.showOpenDialog(root.getScene().getWindow());
if (importFile == null) {
return;
}
final ImportController importController = new ImportControllerImpl(PersistenceHelper.getInstance().createEntityManager());
try {
importController.executeImport(importFile);
// TODO show error messages in status bar
} catch (final ImportException e) {
e.printStackTrace();
} catch (final ValidationException e) {
e.printStackTrace();