X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ui%2Fscl%2FSimantics%2FTesting%2FBuiltinKeys.scl;fp=bundles%2Forg.simantics.modeling.ui%2Fscl%2FSimantics%2FTesting%2FBuiltinKeys.scl;h=520508a5bf6c030c351e45188451afddc16d4c49;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling.ui/scl/Simantics/Testing/BuiltinKeys.scl b/bundles/org.simantics.modeling.ui/scl/Simantics/Testing/BuiltinKeys.scl new file mode 100644 index 000000000..520508a5b --- /dev/null +++ b/bundles/org.simantics.modeling.ui/scl/Simantics/Testing/BuiltinKeys.scl @@ -0,0 +1,24 @@ +import "Simantics/DB" + +importJava "org.simantics.browsing.ui.NodeContext$ConstantKey" where + """ + A key interface used for querying constants from INodeContext. Create static instances of this interface to create re-usable keys. + """ + data ConstantKey + +importJava "org.simantics.browsing.ui.BuiltinKeys" where + + """ + This key is used for storing the main input object into a NodeContext. + """ + INPUT :: ConstantKey + + """ + This key is used for storing the node-specific BrowseContext input object into a NodeContext. + """ + BROWSE_CONTEXT :: ConstantKey + + """ + This key is used for storing the node-specific ActionBrowseContext input object into a NodeContext. + """ + ACTION_BROWSE_CONTEXT :: ConstantKey \ No newline at end of file