]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/src/org/simantics/modeling/scl/GraphPropertyRelation.java
(refs #7375) Fixed implementation of collectEffects
[simantics/platform.git] / bundles / org.simantics.modeling / src / org / simantics / modeling / scl / GraphPropertyRelation.java
index 307a32cccb1c6664cc7cc4dbf3fd96ea70f9a639..a4c1c4b2ace8530a593531a3b094ce6590162cc6 100644 (file)
@@ -153,4 +153,14 @@ public class GraphPropertyRelation implements SCLRelation {
                 w.getModuleWriter().getExternalConstant(propertyRelation, Types.RESOURCE),
                 parameters[1].toVal(compilationContext, w));
     }
+    
+    @Override
+    public Type getEnforceEffect() {
+        return Types.WRITE_GRAPH;
+    }
+
+    @Override
+    public Type getQueryEffect() {
+        return Types.READ_GRAPH;
+    }
 }