Examples of ProgressMessage


Examples of org.jetbrains.jps.incremental.messages.ProgressMessage

        BUILDER_NAME, BuildMessage.Kind.ERROR, "can't find module sdk for " + module.getName())
      );
      return false;
    }

    context.processMessage(new ProgressMessage(HaxeCommonBundle.message("haxe.module.compilation.progress.message", module.getName())));

    boolean compiled = HaxeCommonCompilerUtil.compile(new HaxeCommonCompilerUtil.CompilationContext() {
      private String myErrorRoot;

      @NotNull
View Full Code Here

Examples of org.jetbrains.jps.incremental.messages.ProgressMessage

    return result;
  }

  @Override
  public void progress(@NotNull String message) {
    myContext.processMessage(new ProgressMessage(myMessagePrefix + message));
  }
View Full Code Here

Examples of org.jetbrains.jps.incremental.messages.ProgressMessage

      }
      else {
        throw new IOException("Missing content for file " + fileObject.getFile());
      }

      myContext.processMessage(new ProgressMessage("Compiled " + fileObject.getFile().getPath()));

      final JavaFileObject source = fileObject.getSource();
      if (source != null) {
        final File file = new File(source.toUri());
        synchronized (mySuccessfullyCompiled) {
View Full Code Here

Examples of org.jetbrains.jps.incremental.messages.ProgressMessage

      context.processFiles(chunk, new FileProcessor() {
        public boolean apply(final Module module, final File file, final String sourceRoot) throws Exception {
          if (finalPatterns.isResourceFile(file, sourceRoot)) {
            if (isFileDirty(file, context, tsStorage)) {
              try {
                context.processMessage(new ProgressMessage("Copying " + file.getPath()));
                copyResource(context, module, file, sourceRoot);
              }
              catch (IOException e) {
                context.processMessage(new CompilerMessage("Resource Compiler", BuildMessage.Kind.ERROR, e.getMessage(), FileUtil.toSystemIndependentName(file.getPath())));
                return false;
View Full Code Here

Examples of org.jetbrains.jps.incremental.messages.ProgressMessage

      buildChunks(context, myTestChunks);

      runTasks(context, myBuilderRegistry.getAfterTasks());
    }
    catch (ProjectBuildException e) {
      context.processMessage(new ProgressMessage(e.getMessage()));
    }
    finally {
      context.getBuildDataManager().close();
    }
  }
View Full Code Here

Examples of org.jetbrains.jps.incremental.messages.ProgressMessage

    handler.addProcessListener(new ProcessAdapter() {
      @Override
      public void onTextAvailable(ProcessEvent event, Key outputType) {
        if (outputType != ProcessOutputTypes.STDERR) return;
        String text = event.getText().trim();
        context.processMessage(new ProgressMessage(text));
//        context.processMessage(new CompilerMessage(COMPILER_NAME, BuildMessage.Kind.WARNING, text));
        if (text.startsWith(ERROR_PREFIX)) {
          String errorDescription = text.substring(ERROR_PREFIX.length());
          Pattern pattern = Pattern.compile("(.*)@@((.*) compiling:[(](.*):([\\d]*)(:([\\d]*))?[)])");
          Matcher matcher = pattern.matcher(errorDescription);
View Full Code Here

Examples of org.jitterbit.ui.util.progress.ProgressMessage

        private final ProgressMessage message;

        public WaitNode(KongaTree tree) {
            super("", false);
            this.tree = tree;
            message = new ProgressMessage("Please wait while the tree is constructed", new Receiver<String>() {

                @Override
                public void handle(String t) {
                    updateNode();
                }
View Full Code Here

Examples of org.jitterbit.ui.util.progress.ProgressMessage

class DownloadingIndicatorNode extends AbstractMutableTreeTableNode {

    private final ProgressMessage text;

    public DownloadingIndicatorNode(String text) {
        this.text = new ProgressMessage(text);
        setUserObject(text);
    }
View Full Code Here

Examples of org.jitterbit.ui.util.progress.ProgressMessage

   
    private final ProgressMessage message;

    public StatusUpdater(JLabel label, String baseMsg) {
        this.label = label;
        message = new ProgressMessage(baseMsg, new LabelAdapter(label));
    }
View Full Code Here

Examples of org.jitterbit.ui.util.progress.ProgressMessage

        checkArgument(maxDots >= 1, "maxDots must be >= 1 (was " + maxDots + ")");
        label = new KongaLabel(" ");
        if (decorator != null) {
            decorator.decorate(new LabelAdapter(label));
        }
        message = new ProgressMessage("", label);
        message.setMaxDots(maxDots);
    }
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.