]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.modeling/scl/Simantics/WorkbenchSelection.scl
Fixed yet another potential NPE.
[simantics/platform.git] / bundles / org.simantics.modeling / scl / Simantics / WorkbenchSelection.scl
1 import "Simantics/Variables"
2
3
4 importJava "org.simantics.ui.selection.WorkbenchSelectionElement" where
5     data WorkbenchSelectionElement
6
7 importJava "org.simantics.ui.selection.WorkbenchSelectionUtils" where
8     @JavaName "getPossibleVariableSCL"
9     possibleWSEVariable :: WorkbenchSelectionElement -> <ReadGraph> Maybe Variable
10     @JavaName "getPossibleResourceSCL"
11     possibleWSEResource :: WorkbenchSelectionElement -> <ReadGraph> Maybe Resource
12