From: Antti Villberg Date: Tue, 30 May 2017 11:33:46 +0000 (+0300) Subject: sclChildRule template for defining child rules with SCL code X-Git-Tag: v1.29.0~8 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F573%2F2;p=simantics%2Fplatform.git sclChildRule template for defining child rules with SCL code refs #7258 Change-Id: Id6a898d5d194ab909101add4babe9ee5bc0ae463 --- diff --git a/bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph b/bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph index e71c13997..cd3f1f31f 100644 --- a/bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph +++ b/bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph @@ -365,6 +365,13 @@ IMAGES.ComponentLock : IMAGE.PngImage MBC @VP.dropActionContribution MOD.Subscription MAC.Actions.SubscriptionDropAction 1.0 +MOD.sclChildRule : L0.Template + @template %action %expression + %action : MOD.SCLChildRule + MOD.SCLChildRule.getChildren _ : MOD.SCLValue + L0.SCLValue.expression %expression + L0.HasValueType "Resource -> [Resource]" + MOD.sclAction : L0.Template @template %action %expression %action : MOD.SCLAction