GenPackage genPackage = parameter; | |
genModel = parameter.getGenModel(); | |
boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditProject"); | |
canGenerate = canGenerate && (!genPackage.getGenClasses().isEmpty()); | |
return canGenerate; |