From 8fa7480b919692e4f076e536d3e790865c6e70f8 Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Wed, 12 Jul 2017 16:43:40 +0300 Subject: [PATCH 1/1] LabelDecorator.decorateLabel can return null refs #7364 Change-Id: I3850429ed8a75b375f4f7f63b23bf95d9bf8e81f --- .../scl/Simantics/Testing/BrowseContext.scl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a662f57f4..436557f31 100644 --- a/bundles/org.simantics.modeling.ui/scl/Simantics/Testing/BrowseContext.scl +++ b/bundles/org.simantics.modeling.ui/scl/Simantics/Testing/BrowseContext.scl @@ -97,7 +97,7 @@ importJava "org.simantics.browsing.ui.content.LabelDecorator" where Decorates the given label with the name of the UI column which the label is for and the index of this label within its parenting INodeContext. Returns the decorated Label """ - decorateLabel :: LabelDecorator -> String -> String -> Integer -> String + decorateLabel :: LabelDecorator -> String -> String -> Integer -> Maybe String decorateForeground :: LabelDecorator -> a -> String -> Integer -> a decorateBackground :: LabelDecorator -> a -> String -> Integer -> a decorateFont :: LabelDecorator -> Maybe a -> String -> Integer -> Maybe a -- 2.43.2