From: Antti Villberg Date: Sat, 13 May 2017 18:37:09 +0000 (+0300) Subject: Make NodeContext builtin keys available through Simantics/All X-Git-Tag: v1.29.0~47 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=5bf5e25b6691f1e0ce1969b7ce7ca685e29039f7;p=simantics%2Fplatform.git Make NodeContext builtin keys available through Simantics/All refs #7227 Change-Id: I8890d36f31feac77fcda9f9684b7cab86c7d8f91 --- diff --git a/bundles/org.simantics.modeling.ui/scl/Simantics/Testing/BrowseContext.scl b/bundles/org.simantics.modeling.ui/scl/Simantics/Testing/BrowseContext.scl index cd4e9755d..a662f57f4 100644 --- a/bundles/org.simantics.modeling.ui/scl/Simantics/Testing/BrowseContext.scl +++ b/bundles/org.simantics.modeling.ui/scl/Simantics/Testing/BrowseContext.scl @@ -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 null if there was no value for the key """ - getConstant :: NodeContext -> ConstantKey -> a + getConstant :: NodeContext -> BuiltinKeys.ConstantKey -> a importJava "org.eclipse.jface.resource.ImageDescriptor" where data ImageDescriptor