From 3cb1385863e3bf71ae985db085f8e624a541fd78 Mon Sep 17 00:00:00 2001 From: Antti Villberg Date: Sun, 18 Jun 2017 09:43:10 +0300 Subject: [PATCH] Fixes to SCLLabelRule definitions refs #7315 Change-Id: I9e1ae08ab39a440c60e5abf3d37edfeb4419e96f --- .../graph/ModelingViewpoint.pgraph | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph b/bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph index cd3f1f31f..0255339ac 100644 --- a/bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph +++ b/bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph @@ -20,7 +20,7 @@ MOD.Contributions : L0.Library MOD.SCLChildRule -- MOD.SCLChildRule.getChildren ==> "Resource -> [Resource]" -- MOD.SCLLabelRule.getLabels ==> "Resource -> [String]" [Resource]" +MOD.sclLabelRule : L0.Template + @template %action %expression + %action : MOD.SCLLabelRule + MOD.SCLLabelRule.getLabels _ : MOD.SCLValue + L0.SCLValue.expression %expression + L0.HasValueType "Resource -> [String]" + MOD.sclAction : L0.Template @template %action %expression %action : MOD.SCLAction -- 2.47.1