X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.layer0%2Fsrc%2Forg%2Fsimantics%2Fdb%2Flayer0%2Futil%2FTransferableGraphConfiguration2.java;h=e06506d66d3f2ef2a6c81903133cc4d169bf4303;hb=1f8b50d81a1aa1bbd67a77f7cbc1060f2eb805d4;hp=ec9c8b80c9e8fda57dd623660b6819f7b05e95aa;hpb=b9b77f4296158fcb87261ff359842099b5de1d6a;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/TransferableGraphConfiguration2.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/TransferableGraphConfiguration2.java index ec9c8b80c..e06506d66 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/TransferableGraphConfiguration2.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/TransferableGraphConfiguration2.java @@ -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