From: Antti Villberg Date: Sun, 18 Jun 2017 06:43:10 +0000 (+0300) Subject: Fixes to SCLLabelRule definitions X-Git-Tag: v1.31.0~307 X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=3cb1385863e3bf71ae985db085f8e624a541fd78 Fixes to SCLLabelRule definitions refs #7315 Change-Id: I9e1ae08ab39a440c60e5abf3d37edfeb4419e96f --- 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