use of org.eclipse.vorto.codegen.prosystfi.tasks.JavaEnumGeneratorTask in project vorto by eclipse.
the class ProSystGenerator method generateForEnum.
private void generateForEnum(InformationModel infomodel, InvocationContext ctx, Enum en, IGeneratedWriter outputter) {
ChainedCodeGeneratorTask<Enum> generator = new ChainedCodeGeneratorTask<Enum>();
generator.addTask(new JavaEnumGeneratorTask(JAVA_FILE_EXTENSION, SOURCE, en.getNamespace()));
generator.generate(en, ctx, outputter);
}
Aggregations