IEOGeneratorRunner runner;
String eogeneratorPath = Preferences.getEOGeneratorPath();
if (eogeneratorPath == null || eogeneratorPath.length() == 0 || "velocity".equalsIgnoreCase(eogeneratorPath)) {
runner = new VelocityEOGeneratorRunner();
} else {
runner = new ExternalEOGeneratorRunner();
}
boolean showResults = runner.generate(eogenModel, output, monitor);
if (showResults) {
fileSucceeded = false;
}