]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/scl/Simantics/WorkbenchSelection.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.modeling / scl / Simantics / WorkbenchSelection.scl
diff --git a/bundles/org.simantics.modeling/scl/Simantics/WorkbenchSelection.scl b/bundles/org.simantics.modeling/scl/Simantics/WorkbenchSelection.scl
new file mode 100644 (file)
index 0000000..70987a2
--- /dev/null
@@ -0,0 +1,12 @@
+import "Simantics/Variables"\r
+\r
+\r
+importJava "org.simantics.ui.selection.WorkbenchSelectionElement" where\r
+    data WorkbenchSelectionElement\r
+\r
+importJava "org.simantics.ui.selection.WorkbenchSelectionUtils" where\r
+    @JavaName "getPossibleVariableSCL"\r
+    possibleWSEVariable :: WorkbenchSelectionElement -> <ReadGraph> Maybe Variable\r
+    @JavaName "getPossibleResourceSCL"\r
+    possibleWSEResource :: WorkbenchSelectionElement -> <ReadGraph> Maybe Resource\r
+    
\ No newline at end of file