X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ontology%2Fgraph%2FModelingViewpoint.pgraph;h=0255339ac7bda279053ca6e30b98d744f2362ac2;hb=596709570dae626a884ddfe0341af98c80241e82;hp=e71c13997a661d9c729872e23054efe5883b3824;hpb=02b839782670538923022aaa790cbc6b43ee5bdf;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph b/bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph index e71c13997..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