]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/TransferableGraphConfiguration2.java
Work in progress
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / util / TransferableGraphConfiguration2.java
index ec9c8b80c9e8fda57dd623660b6819f7b05e95aa..e06506d66d3f2ef2a6c81903133cc4d169bf4303 100644 (file)
@@ -24,7 +24,11 @@ public class TransferableGraphConfiguration2 {
        public static class SeedSpec {
 
                public static enum SeedSpecType {
-                       INTERNAL, ROOT, SPECIAL_ROOT
+                       // These seeds and all their child resources (ConsistsOfProcess) are internal
+                       INTERNAL,
+                       // These seeds are reported as root entries in TG, 
+                       ROOT,
+                       SPECIAL_ROOT
                }
 
                public final Resource resource;
@@ -52,7 +56,7 @@ public class TransferableGraphConfiguration2 {
                }
 
                public static SeedSpec internal(Resource resource) {
-                       return new SeedSpec(resource, null, SeedSpecType.ROOT);
+                       return new SeedSpec(resource, "", SeedSpecType.ROOT);
                }
 
                @Override