1 import "Simantics/Variables"
2 import "Simantics/Testing/BrowseContext"
4 importJava "org.simantics.ui.selection.WorkbenchSelectionElement" where
5 data WorkbenchSelectionElement
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 @JavaName "getPossibleJSON"
13 possibleWSEJson :: WorkbenchSelectionElement -> <ReadGraph> Maybe String
15 importJava "org.simantics.browsing.ui.model.StandardWorkbenchSelectionElement" where
16 nodeContextToWorkbenchSelectionElement :: NodeContext -> WorkbenchSelectionElement