Package com.intellij.openapi.progress

Examples of com.intellij.openapi.progress.ProgressIndicator.pushState()


                super.checkCanceled();
                throw new ProcessCanceledException();
              }
            });
          } else {
            progressIndicator.pushState();
            process.run(new jetbrains.communicator.ide.ProgressIndicator() {
              @Override
              public void setIndefinite(boolean indefinite) {
                progressIndicator.setIndeterminate(indefinite);
              }
View Full Code Here


  }

  public int collectFilesToUpdate() {
    ProgressIndicator indicator = ProgressManager.getInstance().getProgressIndicator();
    if (indicator != null) {
      indicator.pushState();
      indicator.setText(IdeBundle.message("progress.scanning.files"));
    }

    myUpdateSets = new Collection[myUpdaters.size()];
    for (int i = 0; i < myUpdaters.size(); i++) {
View Full Code Here

  }

  private void updateFiles() {
    final ProgressIndicator indicator = ProgressManager.getInstance().getProgressIndicator();
    if (indicator != null) {
      indicator.pushState();
      indicator.setText(IdeBundle.message("progress.parsing.files"));
    }

    int totalFiles = myFilesToUpdate.size();
    final MyContentQueue contentQueue = new MyContentQueue();
View Full Code Here

    if (myProject.isDisposed()) {
      return false;
    }
    final CompilerManager manager = CompilerManager.getInstance(myProject);
    final ProgressIndicator progressIndicator = context.getProgressIndicator();
    progressIndicator.pushState();
    try {
      CompileTask[] tasks = beforeTasks ? manager.getBeforeTasks() : manager.getAfterTasks();
      if (tasks.length > 0) {
        progressIndicator.setText(beforeTasks
            ? CompilerBundle.message("progress.executing.precompile.tasks")
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.