Package org.pdtextensions.core.launch.execution

Examples of org.pdtextensions.core.launch.execution.ExecutionResponseAdapter


    Logger.debug("Running cs-fixer: " + fixerArgs.get(1));
    monitor.setTaskName("Fixing " + fixerArgs.get(1));
   
    try {
      ScriptLauncher launcher = launcherManager.getLauncher(FixerEnvironmentFactory.LAUNCHER_KEY, source.getScriptProject().getProject());
      launcher.addResponseListener(new ExecutionResponseAdapter() {
        @Override
        public void executionMessage(String message) {
          System.err.println(message);
        }
      });
View Full Code Here


          if (phPexeItem == null) {
            Logger.log(Logger.WARNING, "No executable selected");
            return;
          }

          ExecutionResponseAdapter adapter = new ExecutionResponseAdapter() {
            public void executionFailed(final String response,
                Exception exception) {
              getShell().getDisplay().asyncExec(new Runnable() {
                @Override
                public void run() {
View Full Code Here

        Display.getDefault().asyncExec(new DownloadRunner());
        return Status.OK_STATUS;
      }
     
      launcher.addResponseListener(new ConsoleResponseHandler());
      launcher.addResponseListener(new ExecutionResponseAdapter() {
        public void executionFailed(final String response, final Exception exception) {
          Display.getDefault().asyncExec(new ComposerFailureMessageRunner(response, monitor));
        }
       
        @Override
View Full Code Here

        // Display.getDefault().asyncExec(new DownloadRunner());
        return Status.OK_STATUS;
      }

      launcher.addResponseListener(new ConsoleResponseHandler());
      launcher.addResponseListener(new ExecutionResponseAdapter() {
        public void executionFailed(final String response, final Exception exception) {

          // TODO: write a dialog for symfony console launcher
          Display.getDefault().asyncExec(new ComposerFailureMessageRunner(response, monitor));
        }
View Full Code Here

TOP

Related Classes of org.pdtextensions.core.launch.execution.ExecutionResponseAdapter

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.