]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/TGConfigurer.java
Allow external customization fo TG Root type URIs.
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / util / TGConfigurer.java
index 222a28924ca05ced998d8b834b955609763c8b41..350f4ca31d966b5bda61e7e570286e4488a8a0e6 100644 (file)
@@ -47,7 +47,7 @@ public class TGConfigurer {
                        Resource nameResource = graph.getPossibleObject(root.resource, L0.HasName);
                        if(nameResource != null) preStatus.put(nameResource, ExtentStatus.EXCLUDED);
 //                     String name = graph.getValue(nameResource, Bindings.STRING);
-                       roots.add(new RootSpec(root.resource, root.name, root.internal));
+                       roots.add(new RootSpec(root.resource, root.name, root.internal, root.type));
                        preStatus.put(root.resource, ExtentStatus.INTERNAL);
                }
                return this;