From e1f7ed787d5691897dcdbccba94c774a51e67b45 Mon Sep 17 00:00:00 2001 From: Antti Villberg Date: Tue, 30 May 2017 14:33:46 +0300 Subject: [PATCH] sclChildRule template for defining child rules with SCL code refs #7258 Change-Id: Id6a898d5d194ab909101add4babe9ee5bc0ae463 --- .../graph/ModelingViewpoint.pgraph | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.47.1