X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling%2Fscl%2FSimantics%2FWorkbenchSelection.scl;h=fc060e083a02329c46d4d5a56a6a518e47e85fc9;hb=5ea4ad47a74e042f8728f48a0635f5f291519b29;hp=60ab7797b288ab5a5b1316cd646ce2f55a7ef80a;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling/scl/Simantics/WorkbenchSelection.scl b/bundles/org.simantics.modeling/scl/Simantics/WorkbenchSelection.scl index 60ab7797b..fc060e083 100644 --- a/bundles/org.simantics.modeling/scl/Simantics/WorkbenchSelection.scl +++ b/bundles/org.simantics.modeling/scl/Simantics/WorkbenchSelection.scl @@ -1,5 +1,5 @@ import "Simantics/Variables" - +import "Simantics/Testing/BrowseContext" importJava "org.simantics.ui.selection.WorkbenchSelectionElement" where data WorkbenchSelectionElement @@ -9,4 +9,8 @@ importJava "org.simantics.ui.selection.WorkbenchSelectionUtils" where possibleWSEVariable :: WorkbenchSelectionElement -> Maybe Variable @JavaName "getPossibleResourceSCL" possibleWSEResource :: WorkbenchSelectionElement -> Maybe Resource - \ No newline at end of file + @JavaName "getPossibleJSON" + possibleWSEJson :: WorkbenchSelectionElement -> Maybe String + +importJava "org.simantics.browsing.ui.model.StandardWorkbenchSelectionElement" where + nodeContextToWorkbenchSelectionElement :: NodeContext -> WorkbenchSelectionElement \ No newline at end of file