]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/templates/BuiltinTemplates.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.graph.compiler / src / org / simantics / graph / compiler / internal / templates / BuiltinTemplates.java
index 860be2c08d385155f74878b3bd6e56dad6029e43..02ca1a6cb4f603a4708db7a7e1d80144adf732bb 100644 (file)
@@ -1,26 +1,26 @@
-package org.simantics.graph.compiler.internal.templates;\r
-\r
-import gnu.trove.map.hash.THashMap;\r
-\r
-import org.simantics.graph.query.Path;\r
-import org.simantics.graph.query.PathChild;\r
-import org.simantics.graph.query.Paths;\r
-\r
-\r
-public class BuiltinTemplates {        \r
-       public final THashMap<Path, ITemplate> TEMPLATES = \r
-               new THashMap<Path, ITemplate>();\r
-       \r
-       public void add(Path path, ITemplate template) {\r
-               TEMPLATES.put(path, template);\r
-       }\r
-       \r
-       public BuiltinTemplates(Paths paths) {\r
-               add(new PathChild("new", paths.Layer0), NewTemplate.INSTANCE);\r
-               add(new PathChild("list", paths.Layer0), ListTemplate.INSTANCE);\r
-               add(new PathChild("orderedSet", paths.Layer0), OrderedSetTemplate.INSTANCE);\r
-               add(new PathChild("loadBytes", paths.Layer0), LoadBytesTemplate.INSTANCE);\r
-               add(new PathChild("loadString", paths.Layer0), LoadStringTemplate.INSTANCE);\r
-               add(new PathChild("loadDataValue", paths.Layer0), LoadDataValueTemplate.INSTANCE);\r
-       }\r
-}\r
+package org.simantics.graph.compiler.internal.templates;
+
+import gnu.trove.map.hash.THashMap;
+
+import org.simantics.graph.query.Path;
+import org.simantics.graph.query.PathChild;
+import org.simantics.graph.query.Paths;
+
+
+public class BuiltinTemplates {        
+       public final THashMap<Path, ITemplate> TEMPLATES = 
+               new THashMap<Path, ITemplate>();
+       
+       public void add(Path path, ITemplate template) {
+               TEMPLATES.put(path, template);
+       }
+       
+       public BuiltinTemplates(Paths paths) {
+               add(new PathChild("new", paths.Layer0), NewTemplate.INSTANCE);
+               add(new PathChild("list", paths.Layer0), ListTemplate.INSTANCE);
+               add(new PathChild("orderedSet", paths.Layer0), OrderedSetTemplate.INSTANCE);
+               add(new PathChild("loadBytes", paths.Layer0), LoadBytesTemplate.INSTANCE);
+               add(new PathChild("loadString", paths.Layer0), LoadStringTemplate.INSTANCE);
+               add(new PathChild("loadDataValue", paths.Layer0), LoadDataValueTemplate.INSTANCE);
+       }
+}