Examples of run()


Examples of org.perfidix.Benchmark.run()

    }

    public static void main (String[] args) {
        Benchmark benchmark = new Benchmark();
        benchmark.add(StorageBench.class);
        BenchmarkResult res = benchmark.run();
        TabularSummaryOutput tab = new TabularSummaryOutput();
        tab.visitBenchmark(res);
    }

}
View Full Code Here

Examples of org.phylowidget.render.TreeRenderer.run()

    if (runMe != null)
    {
      Runnable r = runMe;
      runMe = null;
      r.run();
    }
  }

  public void nodesInRange(ArrayList list, Rectangle2D.Float rect)
  {
View Full Code Here

Examples of org.python.pydev.core.uiutils.AsynchronousProgressMonitorDialog.run()

        ProgressMonitorDialog monitorDialog = new AsynchronousProgressMonitorDialog(shell);
        monitorDialog.setCancelable(cancelable);
        monitorDialog.setBlockOnOpen(false);
        try {
            IRunnableWithProgress operation = new ProgressOperation(action);
            monitorDialog.run(false, false, operation);
            // Perform the action
        } catch (InvocationTargetException e) {
            Log.log(e);
        } catch (InterruptedException e) {
            Log.log(e);
View Full Code Here

Examples of org.python.pydev.editor.actions.PyOpenAction.run()

        File file = new File(this.location);
        if (file.exists()) {
            PyOpenAction openAction = new PyOpenAction();
            String fileContents = FileUtils.getFileContents(file);
            ItemPointer itemPointer = getItemPointer(file, fileContents, this.test);
            openAction.run(itemPointer);
        }
    }

    public static ItemPointer getItemPointer(File file, String fileContents, String testPath) {
        SimpleNode testNode = null;
View Full Code Here

Examples of org.python.pydev.editor.actions.PyShiftLeft.run()

                rewriteSession = extension.startRewriteSession(DocumentRewriteSessionType.SEQUENTIAL);
            }
            // Perform the shift operation.
            PyShiftLeft pyShiftLeft = new PyShiftLeft();
            pyShiftLeft.setEditor(getEdit());
            pyShiftLeft.run(null);

        } finally {

            if (d instanceof IDocumentExtension4) {
                IDocumentExtension4 extension = (IDocumentExtension4) d;
View Full Code Here

Examples of org.python.pydev.refactoring.ui.core.PythonRefactoringWizard.run()

        try {
            info = new RefactoringInfo(this.targetEditor);
            PythonRefactoringWizard wizard = new PythonRefactoringWizard(this.createRefactoring(info),
                    this.targetEditor, this.createPage(info), this.getWizardFlags());

            wizard.run();

            this.targetEditor.getDocumentProvider().changed(this.targetEditor.getEditorInput());
        } catch (Throwable e) {
            Log.log(e);
            Throwable initial = e;
View Full Code Here

Examples of org.radargun.reporting.Reporter.run()

      for (ReporterConfiguration rc : config.getReporters()) {
         for (ReporterConfiguration.Report rcr : rc.getReports()) {
            try {
               Reporter reporter = ReporterHelper.createReporter(rc.type, rcr.getProperties());
               if (reporter instanceof SerializedReporter) continue;
               reporter.run(reports);
            } catch (Exception e) {
               System.err.println("Failed to run reporter " + rc.type);
               e.printStackTrace();
            }
         }
View Full Code Here

Examples of org.redline_rpm.Scanner.run()

    assertNotNull( format.getSignature().getEntry( LEGACY_PGP));
  }

  private Format getFormat( File filename ) throws IOException {
    Scanner scanner = new Scanner();
    return scanner.run(new ReadableChannelWrapper( Channels
        .newChannel( new FileInputStream( filename ) )));
  }

  private RedlineTask createBasicTask( File dir ) {
    RedlineTask task = new RedlineTask();
View Full Code Here

Examples of org.renjin.repl.JlineRepl.run()

        evaluateExpression(session, (String) options.valueOf("e"));
      } else if(options.has("f")) {
        evaluateFile(session, (String) options.valueOf("f"));
      } else {
        JlineRepl repl = new JlineRepl(session);
        repl.run();
      }

    } catch (Exception e) {
      e.printStackTrace();
      System.exit(-1);
View Full Code Here

Examples of org.resmedicinae.application.healthcare.resdata.model.IModel.run()

            myModelLogin.run( param );
            if ( myModelLogin.getModelstatus() == Model.DOCTOR_LOGIN_SUCCESSFULL ) {

                param.putAll( myModelLogin.getModelData() );
                myModelDoctor.run( param );
                page = "ResDataDoctor.jsp";
            }

            else if ( myModelLogin.getModelstatus() == Model.DOCTOR_LOGIN_UNSUCCESSFULL ) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.