Examples of ProgressInfo


Examples of ca.carleton.gcrc.progress.ProgressInfo

    progressId = progressTracker.createIdentifier();
    String desc = "Process file " + fileInfo.getOriginalFilename();
   
    // Chain activity
    progressTracker.initProgress(progressId, desc, 102);
    ProgressInfo info = progressTracker.getProgress(progressId);
    if( null != parentProgressId ) {
      progressTracker.addProgressChain(parentProgressId, info);
    }
  }
View Full Code Here

Examples of ca.carleton.gcrc.progress.ProgressInfo

    progressId = progressTracker.createIdentifier();
    String desc = "Process file " + fileInfo.getOriginalFilename();
   
    // Chain activity
    progressTracker.initProgress(progressId, desc, 102);
    ProgressInfo info = progressTracker.getProgress(progressId);
    if( null != parentProgressId ) {
      progressTracker.addProgressChain(parentProgressId, info);
    }
  }
View Full Code Here

Examples of ca.carleton.gcrc.progress.ProgressInfo

    progressId = ProgressTracker.createIdentifier();
    String desc = "Process file " + fileInfo.getOriginalFilename();
   
    // Chain activity
    ProgressTracker.initProgess(progressId, desc, 102);
    ProgressInfo info = ProgressTracker.getProgess(progressId);
    if( null != parentProgressId ) {
      ProgressTracker.addProgessChain(parentProgressId, info);
    }
  }
View Full Code Here

Examples of ca.carleton.gcrc.progress.ProgressInfo

    progressId = progressTracker.createIdentifier();
    String desc = "Process file " + fileInfo.getOriginalFilename();
   
    // Chain activity
    progressTracker.initProgress(progressId, desc, 102);
    ProgressInfo info = progressTracker.getProgress(progressId);
    if( null != parentProgressId ) {
      progressTracker.addProgressChain(parentProgressId, info);
    }
  }
View Full Code Here

Examples of org.aavso.tools.vstar.ui.mediator.message.ProgressInfo

  }

  // Update the progress of the task by the specified number of steps.
  private void updateProgress(int steps) {
    mediator.getProgressNotifier().notifyListeners(
        new ProgressInfo(ProgressType.INCREMENT_PROGRESS, steps));
  }
View Full Code Here

Examples of org.aavso.tools.vstar.ui.mediator.message.ProgressInfo

    // Task begins: Number of lines in file and a portion for the light
    // curve plot.
    int plotPortion = (int) (analyser.getLineCount() * 0.2);

    this.getProgressNotifier().notifyListeners(
        new ProgressInfo(ProgressType.MAX_PROGRESS, analyser
            .getLineCount()
            + plotPortion));

    NewStarFromFileTask task = new NewStarFromFileTask(obsFile, analyser,
        plotPortion, isAdditiveLoad);
View Full Code Here

Examples of org.aavso.tools.vstar.ui.mediator.message.ProgressInfo

    try {
      this.getProgressNotifier().notifyListeners(
          ProgressInfo.START_PROGRESS);

      this.getProgressNotifier().notifyListeners(
          new ProgressInfo(ProgressType.MAX_PROGRESS, 10));

      NewStarFromDatabaseTask task = new NewStarFromDatabaseTask(
          starName, auid, minJD, maxJD, isAdditiveLoad);
      this.currTask = task;
      task.execute();
View Full Code Here

Examples of org.aavso.tools.vstar.ui.mediator.message.ProgressInfo

          meanObsTableModel);

      if (obsArtefactProgressAmount > 0) {
        // Update progress.
        getProgressNotifier().notifyListeners(
            new ProgressInfo(ProgressType.INCREMENT_PROGRESS,
                obsArtefactProgressAmount));
      }
    }

    if (!invalidObsList.isEmpty()) {
View Full Code Here

Examples of org.aavso.tools.vstar.ui.mediator.message.ProgressInfo

        this.getProgressNotifier().notifyListeners(
            ProgressInfo.START_PROGRESS);

        this.getProgressNotifier()
            .notifyListeners(
                new ProgressInfo(ProgressType.MAX_PROGRESS, obs
                    .size()));

        ObsListFileSaveTask task = new ObsListFileSaveTask(obs, path,
            this.getLatestNewStarMessage().getNewStarType(),
            delimiter);
View Full Code Here

Examples of org.aavso.tools.vstar.ui.mediator.message.ProgressInfo

          this.getProgressNotifier().notifyListeners(
              ProgressInfo.START_PROGRESS);

          this.getProgressNotifier().notifyListeners(
              new ProgressInfo(ProgressType.MAX_PROGRESS, obs
                  .size()));

          ObsListFileSaveTask task = new ObsListFileSaveTask(obs,
              outFile, this.getLatestNewStarMessage()
                  .getNewStarType(), obsListFileSaveDialog
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.