]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Make NodeContext builtin keys available through Simantics/All 24/524/2
authorAntti Villberg <antti.villberg@semantum.fi>
Sat, 13 May 2017 18:37:09 +0000 (21:37 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 15 May 2017 13:03:53 +0000 (16:03 +0300)
refs #7227

Change-Id: I8890d36f31feac77fcda9f9684b7cab86c7d8f91

bundles/org.simantics.modeling.ui/scl/Simantics/Testing/BrowseContext.scl

index cd4e9755dfa1e9a81d343c19189e235a8bf9e2d7..a662f57f4a47695501052d30dba1072e5d6ad66f 100644 (file)
@@ -1,6 +1,6 @@
 import "Simantics/Variables"
 import "Map" as Map
-import "Simantics/Testing/BuiltinKeys"
+include "Simantics/Testing/BuiltinKeys" as BuiltinKeys
 
 importJava "org.simantics.browsing.ui.model.browsecontexts.BrowseContext" where
     """
@@ -68,7 +68,7 @@ importJava "org.simantics.browsing.ui.NodeContext" where
     """
     Finds value with the specified key or <code>null</code> if there was no value for the key
     """
-    getConstant :: NodeContext -> ConstantKey -> <Proc> a
+    getConstant :: NodeContext -> BuiltinKeys.ConstantKey -> <Proc> a
 
 importJava "org.eclipse.jface.resource.ImageDescriptor" where
     data ImageDescriptor