X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.graph.compiler%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fcompiler%2Finternal%2Ftemplates%2FNewTemplate.java;fp=bundles%2Forg.simantics.graph.compiler%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fcompiler%2Finternal%2Ftemplates%2FNewTemplate.java;h=7894284745f354952419256919f7f59ca85df7cb;hp=82c3d56426abc82612d82d9385c498102a22a401;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 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..789428474 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.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]); + } + +}