GenModel genModel = parameter; | |
genModel = parameter.getGenModel(); | |
boolean canGenerate = new CodegenGeneratorAdapter(parameter).canGenerate("org.eclipse.emf.codegen.ecore.genmodel.generator.EditorProject"); | |
canGenerate = canGenerate && (genModel.getRuntimePlatform() == GenRuntimePlatform.GWT); | |
return canGenerate; |