]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.tests.modelled.ui.ontology/graph/TestsUI.pgraph
Ignore multiple modelled tests via context menu action
[simantics/platform.git] / bundles / org.simantics.tests.modelled.ui.ontology / graph / TestsUI.pgraph
index f92524b797ae40dd43dee90286f60a2e01c8db5f..bcae4c4805e8f96a48815bc8bb051f9f677af7bf 100644 (file)
@@ -36,6 +36,8 @@ MBC
     @VP.namedConstantImageRule    TestsUI.Contributions.SuiteImage          TESTS.STSSuite                         TestsUI.testSuiteImage
     @VP.namedRelationChildRule    TestsUI.Contributions.STSTests            L0.Entity                              L0.ConsistsOf TESTS.STSTest
     @VP.customImageRule           TESTS.STSTest                             MBC.TestImageRule
+    @VP.namedRelationChildRule    TestsUI.Contributions.STSVariables        L0.Entity                              L0.ConsistsOf TESTS.STSVariable
+    @VP.namedConstantImageRule    TestsUI.Contributions.VariableImage       TESTS.STSVariable                      SILK.page_white_edit
 
 MBC
     VP.BrowseContext.HasVisualsContribution _ : VP.VisualsContribution
@@ -55,6 +57,10 @@ ACTIONS.NewSTSTest
   @MOD.sclAction "createSTSTestAction"
 ACTIONS.RunSTSTest
   @MOD.sclAction "runSTSTestAction"
+ACTIONS.IgnoreSTSTest
+  @MOD.sclAction "ignoreSTSTestAction"
+ACTIONS.NewSTSVariable
+  @MOD.sclAction "createSTSVariableAction"
 
 MAC
     VP.BrowseContext.HasActionContribution TestsUI.Contributions.NewSTSSuite : VP.ActionContribution
@@ -76,10 +82,19 @@ MAC
         VP.ActionContribution.HasImage SILK.control_play
         VP.ActionContribution.HasCategory VP.EditActionCategory
         VP.ActionContribution.HasNodeType TESTS.STSSuite
+        VP.ActionContribution.HasNodeType TESTS.STSTest
         VP.ActionContribution.HasAction ACTIONS.RunSTSTest
     VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
-        L0.HasLabel "Run"
+        L0.HasLabel "Ignore"
         VP.ActionContribution.HasImage SILK.control_play
         VP.ActionContribution.HasCategory VP.EditActionCategory
+        VP.ActionContribution.HasNodeType TESTS.STSSuite
+        VP.ActionContribution.HasNodeType TESTS.STSTest
+        VP.ActionContribution.HasAction ACTIONS.IgnoreSTSTest
+    VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
+        L0.HasLabel "STS Variable"
+        VP.ActionContribution.HasImage SILK.page_white_edit
+        VP.ActionContribution.HasCategory VP.NewActionCategory
+        VP.ActionContribution.HasNodeType TESTS.STSSuite
         VP.ActionContribution.HasNodeType TESTS.STSTest
-        VP.ActionContribution.HasAction ACTIONS.RunSTSTest
\ No newline at end of file
+        VP.ActionContribution.HasAction ACTIONS.NewSTSVariable