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=ab6b5352dfc18b5cbf8111bf04749c5a448c0d53;hp=f92524b797ae40dd43dee90286f60a2e01c8db5f;hb=013df68afa182f2c8d0b8a662437e3bcb889d61d;hpb=36799f7fc9a4793236d9085aa87ee5baff167376 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 f92524b79..ab6b5352d 100644 --- a/bundles/org.simantics.tests.modelled.ui.ontology/graph/TestsUI.pgraph +++ b/bundles/org.simantics.tests.modelled.ui.ontology/graph/TestsUI.pgraph @@ -11,8 +11,8 @@ TestsUI = : L0.Ontology L0.HasResourceClass "org.simantics.tests.modelled.ui.ontology.TestsUIResource" TestsUI.SCLMain : L0.SCLModule - L0.SCLModule.definition _ : L0.String - @L0.loadString "scl/SCLMain.scl" + L0.SCLModule.definition _ : L0.String + @L0.loadString "scl/SCLMain.scl" TestsUI.testImage : IMAGE.PngImage @L0.loadBytes "images/test.png" @@ -35,7 +35,11 @@ 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.namedRelationChildRule TestsUI.Contributions.SuiteModules TESTS.STSSuite L0.ConsistsOf L0.SCLModule + @VP.namedRelationChildRule TestsUI.Contributions.TestModules TESTS.STSTest L0.ConsistsOf L0.SCLModule @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 +59,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 +84,27 @@ 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.NewSTSVariable + VP.BrowseContext.HasActionContribution _ : VP.ActionContribution + L0.HasLabel "SCL Module" + VP.ActionContribution.HasImage SILK.page_white_text + 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 MOD.ModelingActionContext.Actions.NewSCLModule + VP.ActionContribution.IsVisibleIf MOD.ModelingActionContext.Tests.IsContainerNotPublished