Skip to content

Commit

Permalink
ADD: New source code templte for ModelAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianKarl committed Feb 26, 2012
1 parent 9df2401 commit ed4c684
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/test/resources/templates/ModelAPI.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
HEADER<{{
import org.apache.log4j.Logger;
import org.graphwalker.Util;
import org.graphwalker.generators.PathGenerator;

public class ModelAPI extends org.graphwalker.multipleModels.ModelAPI {
private static Logger logger = Util.setupLogger(ModelAPI.class);

public ModelAPI(File model, boolean efsm, PathGenerator generator, boolean weight) {
super(model, efsm, generator, weight);
}
}}>HEADER
/**
* This method implements the {EDGE_VERTEX} '{LABEL}'
* {DESCRIPTION}
*/
public void {LABEL}() {
}
FOOTER<{{
}
}}>FOOTER

0 comments on commit ed4c684

Please sign in to comment.