diff --git a/AlgebraicDataflowArchitectureModel/src/application/actions/JavaPrototypeGenerateAction.java b/AlgebraicDataflowArchitectureModel/src/application/actions/JavaPrototypeGenerateAction.java index 92b552b..754c104 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/actions/JavaPrototypeGenerateAction.java +++ b/AlgebraicDataflowArchitectureModel/src/application/actions/JavaPrototypeGenerateAction.java @@ -65,9 +65,9 @@ } ControlFlowGraph controlFlowGraph = editor.getControlFlowGraph(); if (controlFlowGraph != null) { - editor.setCodes(CodeGenerator.doGenerate(model, controlFlowGraph, new JavaSpecific())); + editor.setCodes(CodeGenerator.generateCode(model, controlFlowGraph, new JavaSpecific())); } else { - editor.setCodes(CodeGenerator.doGenerate(model, dataFlowgraph, new JavaSpecific())); + editor.setCodes(CodeGenerator.generateCode(model, dataFlowgraph, new JavaSpecific())); } ModelExtension.recoverModel(model); for (CompilationUnit file : editor.getCodes()) {