--- /dev/null
+package org.simantics.graph.compiler.internal.templates;\r
+\r
+import java.util.Collection;\r
+\r
+import org.simantics.graph.compiler.ExternalFileLoader;\r
+import org.simantics.graph.query.IGraph;\r
+import org.simantics.graph.store.GraphStore;\r
+import org.simantics.ltk.Problem;\r
+\r
+public enum NewTemplate implements ITemplate {\r
+ INSTANCE;\r
+ \r
+ @Override\r
+ public void apply(IGraph graph, GraphStore store,\r
+ int[] parameters, ExternalFileLoader fileLoader, Collection<Problem> problems) {\r
+ store.identities.markNew(parameters[0]);\r
+ }\r
+\r
+}\r