X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.graph.compiler%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fcompiler%2Finternal%2Ftemplates%2FNewTemplate.java;h=fd3f999cf65313704e4da9e3ce32a47f6b7503a8;hb=HEAD;hp=82c3d56426abc82612d82d9385c498102a22a401;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/templates/NewTemplate.java b/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/templates/NewTemplate.java index 82c3d5642..fd3f999cf 100644 --- a/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/templates/NewTemplate.java +++ b/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/templates/NewTemplate.java @@ -1,19 +1,19 @@ -package org.simantics.graph.compiler.internal.templates; - -import java.util.Collection; - -import org.simantics.graph.compiler.ExternalFileLoader; -import org.simantics.graph.query.IGraph; -import org.simantics.graph.store.GraphStore; -import org.simantics.ltk.Problem; - -public enum NewTemplate implements ITemplate { - INSTANCE; - - @Override - public void apply(IGraph graph, GraphStore store, - int[] parameters, ExternalFileLoader fileLoader, Collection problems) { - store.identities.markNew(parameters[0]); - } - -} +package org.simantics.graph.compiler.internal.templates; + +import java.util.Collection; + +import org.simantics.graph.compiler.ExternalFileLoader; +import org.simantics.graph.compiler.internal.ltk.Problem; +import org.simantics.graph.query.IGraph; +import org.simantics.graph.store.GraphStore; + +public enum NewTemplate implements ITemplate { + INSTANCE; + + @Override + public void apply(IGraph graph, GraphStore store, + int[] parameters, ExternalFileLoader fileLoader, Collection problems) { + store.identities.markNew(parameters[0]); + } + +}