Package org.eclipse.jdt.internal.junit.util

Examples of org.eclipse.jdt.internal.junit.util.CheckedTableSelectionDialog


        IBuffer buf = fTestSuite.getBuffer();
        String originalContent = buf.getText(range.getOffset(), range
            .getLength());
        buf.close();
        if (getTestSuiteClassListRange(originalContent) != null) {
          CheckedTableSelectionDialog dialog = new CheckedTableSelectionDialog(
              fShell, lprovider, cprovider);
          dialog.setValidator(new UpdateAllTestsValidator());
          dialog.setTitle(WizardMessages.UpdateAllTests_title);
          dialog.setMessage(WizardMessages.UpdateAllTests_message);
          Set elements = cprovider.getTests(fPack);
          elements.remove(testSuiteType);
          dialog.setInitialSelections(elements.toArray());
          dialog.setSize(60, 25);
          dialog.setInput(fPack);
          if (dialog.open() == Window.OK) {
            fSelectedTestCases = dialog.getResult();
            try {
              PlatformUI.getWorkbench().getProgressService()
                  .busyCursorWhile(getRunnable());
            } catch (Exception e) {
              Activator.log(e);
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.junit.util.CheckedTableSelectionDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.