Package org.aavso.tools.vstar.ui.task

Examples of org.aavso.tools.vstar.ui.task.ModellingTask


              .getObservations(type);

          IModel model = plugin.getModel(obs);

          if (model != null) {
            ModellingTask task = new ModellingTask(model);

            this.currTask = task;

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

            task.execute();
          }
        }
      }
    } catch (Exception e) {
      MessageBox.showErrorDialog(Mediator.getUI().getComponent(),
View Full Code Here


   *            The model object for this plugin whose execute() method can be
   *            invoked to create the model artifacts.
   */
  public void performModellingOperation(IModel model) {
    try {
      ModellingTask task = new ModellingTask(model);

      this.currTask = task;

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

      task.execute();
    } catch (Exception e) {
      MessageBox.showErrorDialog(Mediator.getUI().getComponent(),
          "Modelling Error", e);

      this.getProgressNotifier().notifyListeners(
View Full Code Here

TOP

Related Classes of org.aavso.tools.vstar.ui.task.ModellingTask

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.