1 package org.simantics.graph.compiler.internal.templates;
\r
3 import java.util.Collection;
\r
5 import org.simantics.graph.compiler.ExternalFileLoader;
\r
6 import org.simantics.graph.query.IGraph;
\r
7 import org.simantics.graph.store.GraphStore;
\r
8 import org.simantics.ltk.Problem;
\r
10 public enum NewTemplate implements ITemplate {
\r
14 public void apply(IGraph graph, GraphStore store,
\r
15 int[] parameters, ExternalFileLoader fileLoader, Collection<Problem> problems) {
\r
16 store.identities.markNew(parameters[0]);
\r