]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.issues.common/src/org/simantics/issues/common/All.java
Issues-view menu improvements & Variable-based issue context resolution
[simantics/platform.git] / bundles / org.simantics.issues.common / src / org / simantics / issues / common / All.java
index 6ff625c0bb4ffc9f9535340da6f640181f5af8b4..9173101eee8d77e57f218791d551ac9d2e5f6ff5 100644 (file)
@@ -76,5 +76,10 @@ public class All {
                return IssueUtils.pathString(uri, modelURI.length()+1);
        }
     }
-     
+
+    @SCLValue(type = "ReadGraph -> Resource -> Variable -> [Resource]")
+    public static List<Resource> standardIssueContexts(ReadGraph graph, Resource converter, Variable property) throws DatabaseException {
+        return IssueUtils.getContextsForProperty(graph, property);
+    }
+
 }