]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/java/MinigraphModule.java
(refs #7375) Fixed implementation of collectEffects
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / elaboration / java / MinigraphModule.java
index 6bdaaea7bfda2b0d26a89944b09e6f6be0a1d289..b68657a1cedd6c9a0cda0a883ee5fdf2ca94b417 100644 (file)
@@ -261,6 +261,16 @@ public class MinigraphModule extends ConcreteModule {
             public String toString() {
                 return "Statement";
             }
+            
+            @Override
+            public Type getEnforceEffect() {
+                return GRAPH;
+            }
+            
+            @Override
+            public Type getQueryEffect() {
+                return GRAPH;
+            }
         });
         addEntityType("Resource", new SCLEntityType() {
             @Override
@@ -282,6 +292,7 @@ public class MinigraphModule extends ConcreteModule {
                 return new ResourceAttribute(name);
             }
         });
+        setParentClassLoader(getClass().getClassLoader());
     }
     
     private static class ResourceAttribute implements SCLEntityType.Attribute {