X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.tests.modelled.ui.ontology%2Fgraph%2FTestsUI.pgraph;h=bcae4c4805e8f96a48815bc8bb051f9f677af7bf;hp=b51213dc8475a00c1eab2cc62bb09d9245948367;hb=refs%2Fchanges%2F64%2F764%2F2;hpb=43ddca759254b8e38029c1041d91cbdd7890c9b5 diff --git a/bundles/org.simantics.tests.modelled.ui.ontology/graph/TestsUI.pgraph b/bundles/org.simantics.tests.modelled.ui.ontology/graph/TestsUI.pgraph index b51213dc8..bcae4c480 100644 --- a/bundles/org.simantics.tests.modelled.ui.ontology/graph/TestsUI.pgraph +++ b/bundles/org.simantics.tests.modelled.ui.ontology/graph/TestsUI.pgraph @@ -17,21 +17,34 @@ TestsUI.SCLMain : L0.SCLModule TestsUI.testImage : IMAGE.PngImage @L0.loadBytes "images/test.png" +TestsUI.testIgnoredImage : IMAGE.PngImage + @L0.loadBytes "images/testignored.gif" + TestsUI.testSuiteImage : IMAGE.PngImage @L0.loadBytes "images/tsuite.png" // Library containing all testing viewpoint contributions TestsUI.Contributions : L0.Library - MBC = TestsUI.BrowseContext : VP.BrowseContext VP.BrowseContext.IsIncludedIn PROJECT.ProjectBrowseContext +MBC.TestImageRule : VP.ImageRule + MBC - @VP.namedRelationChildRule TestsUI.Contributions.STSSuites L0.Entity L0.ConsistsOf TESTS.STSSuite - @VP.namedConstantImageRule TestsUI.Contributions.SuiteImage TESTS.STSSuite TestsUI.testSuiteImage - @VP.namedRelationChildRule TestsUI.Contributions.STSTests L0.Entity L0.ConsistsOf TESTS.STSTest - @VP.namedConstantImageRule TestsUI.Contributions.TestImage TESTS.STSTest TestsUI.testImage + @VP.namedRelationChildRule TestsUI.Contributions.STSSuites L0.Entity L0.ConsistsOf TESTS.STSSuite + @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 + VP.VisualsContribution.HasNodeType TESTS.STSSuite + VP.VisualsContribution.HasRule MBC.STSSuiteSorterRule + +MBC.STSSuiteSorterRule : VP.SorterRule MAC = TestsUI.ModelingActionContext : VP.BrowseContext VP.BrowseContext.IsIncludedIn PROJECT.ProjectActionContext @@ -44,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 @@ -65,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