]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.tests.modelled.ui/src/org/simantics/tests/modelled/ui/TestsUIUtils.java
ignoreSTSTestAction has wrong signature
[simantics/platform.git] / bundles / org.simantics.tests.modelled.ui / src / org / simantics / tests / modelled / ui / TestsUIUtils.java
index b24f445e23c985e317f652f628e435a0135a3b53..648d48969456e2c74064255fc01bc6fd7daa954e 100644 (file)
@@ -1,7 +1,6 @@
 package org.simantics.tests.modelled.ui;
 
 import java.io.IOException;
-import java.util.List;
 
 import org.eclipse.e4.ui.model.application.ui.basic.MPart;
 import org.simantics.Simantics;
@@ -27,15 +26,13 @@ public class TestsUIUtils {
         view.execute();
     }
     
-    public static void ignoreSTSTestAction(List<Resource> tests) throws DatabaseException {
+    public static void ignoreSTSTestAction(Resource test) throws DatabaseException {
         Simantics.getSession().syncRequest(new Write() {
             
             @Override
             public void perform(WriteGraph graph) throws DatabaseException {
                 TestsResource TESTS = TestsResource.getInstance(graph);
-                for (Resource test : tests) {
-                    graph.claimLiteral(test, TESTS.ignore, true, Bindings.BOOLEAN);
-                }
+                graph.claimLiteral(test, TESTS.ignore, true, Bindings.BOOLEAN);
             }
         });
     }