X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ontology%2Fgraph%2FModelingViewpoint.pgraph;h=cd3f1f31f996a4d8eb4a26237b7ca09baab4870a;hb=57fea6afc7ab4f548d1ccba0733416529fc4526d;hp=fa0f29cba7b59f295e159eabcb093c9f4ad5ceea;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;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 fa0f29cba..cd3f1f31f 100644 --- a/bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph +++ b/bundles/org.simantics.modeling.ontology/graph/ModelingViewpoint.pgraph @@ -26,7 +26,10 @@ MOD.SCLLabelRule MOD.SCLAction.action ==> "Resource -> ()" MOD.SCLDropAction.action ==> "Resource -> Dynamic -> Integer -> ()" MOD.SCLTest.test ==> "Resource -> Boolean" [Resource]" + MOD.sclAction : L0.Template @template %action %expression %action : MOD.SCLAction @@ -369,6 +379,13 @@ MOD.sclAction : L0.Template L0.SCLValue.expression %expression L0.HasValueType "Resource -> ()" +MOD.sclDropAction : L0.Template + @template %action %expression + %action : MOD.SCLDropAction + MOD.SCLDropAction.action _ : MOD.SCLValue + L0.SCLValue.expression %expression + L0.HasValueType "Resource -> Dynamic -> Integer -> ()" + MOD.sclTest : L0.Template @template %subject %expression %subject : MOD.SCLTest @@ -636,9 +653,28 @@ ACTIONS.CompilePGraphs : ACT.Action ACTIONS.RenameDiagramComponents : ACT.Action ACTIONS.Help : ACT.Action +ACTIONS.NavigateToSubstructure + @MOD.sclAction "navigateToSubstructureAction" + ACTIONS.NewProceduralComponentType : ACT.Action ACTIONS.NewComponentType : ACT.Action +MOD.InstantiateUnder -- MOD.InstantiateUnder.HasType --> L0.Type ()" + +ACTIONS.InstantiateUnder + @MOD.sclAction "instantiateUnderAction self" + +MOD.InstanceOfTest -- MOD.InstanceOfTest.HasType --> L0.Type Boolean" + +MOD.instanceOfTest : L0.Template + @template %test %type + %test : MOD.InstanceOfTest + MOD.InstanceOfTest.HasType %type + TESTS = MAC.Tests : L0.Library TESTS.IsNotPublished @MOD.sclTest "isNotPublished"