Package tool.process

Examples of tool.process.ProcessExitDetector


      env.put("FORTE_LOGGER_SETUP", logFlags);
      this.editorProcess = pb.start();

      // listen for the process exit so we can refresh the resource
     
      ProcessExitDetector processExitDetector = new ProcessExitDetector(this.editorProcess);
        processExitDetector.addProcessListener(new ProcessListener() {
            public void processFinished(Process process) {
                try {
            windowFile.refreshLocal(IResource.DEPTH_ZERO, null);
          } catch (CoreException e) {
            ToolPlugin.showError("Error refreshing fsw file", e);
          }
            }
        });
        processExitDetector.start();
     
      // Start readers to consume output. It looks very innocuous with the output from the process
      // being mapped to p.inputStream, but this is correct.
      OutputContainer container = new OutputContainer(this.windowEditorStream);
View Full Code Here

TOP

Related Classes of tool.process.ProcessExitDetector

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.