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