Package edu.indiana.extreme.xbaya.gui

Examples of edu.indiana.extreme.xbaya.gui.WaitDialog


  private WaitDialog invokingDialog;

  public ODEInvoker(XBayaEngine engine) {
    this.engine = engine;

    this.invokingDialog = new WaitDialog(this,
        "Invoking the Workflow.",
        "Invoking the Workflow."
            + "Please wait for a moment.", this.engine);
  }
View Full Code Here


     * @param engine
     */
    public MyProxyLoader(XBayaEngine engine) {
        this.engine = engine;

        this.waitDialog = new WaitDialog(this, "Loading Proxy",
                "Loading a proxy.\n" + "Please wait for a moment.", this.engine);
    }
View Full Code Here

     * @param engine
     */
    public ComponentRegistryLoader(XBayaEngine engine) {
        this.engine = engine;

        this.loadingDialog = new WaitDialog(this, "Loading a Component List.",
                "Loading a Component List. " + "Please wait for a moment.",
                this.engine);
    }
View Full Code Here

        }
      }

      this.notifier.workflowTerminated();
      if (this.mode == GUI_MODE) {
        final WaitDialog waitDialog = new WaitDialog(new Cancelable() {
          @Override
          public void cancel() {
            // Do nothing
          }
        }, "Stop Workflow", "Cleaning up resources for Workflow", this.engine);
        new Thread(new Runnable() {
          @Override
          public void run() {
            waitDialog.show();
          }
        }).start();
        // Send Notification for output values
        finish();
        // Sleep to provide for notification delay
        try {
          Thread.sleep(1000);
        } catch (InterruptedException e) {
          e.printStackTrace();
        }
        cleanup();
        waitDialog.hide();
      } else {
        finish();
      }
    } catch (RuntimeException e) {
      // we reset all the state
View Full Code Here

     * @param engine
     */
    public MonitorStarter(XBayaEngine engine) {
        this.engine = engine;

        this.startingDialog = new WaitDialog(this, "Starting Monitoring",
                "Subscribing to notification.\n" + "Please wait for a moment.",
                this.engine);
    }
View Full Code Here

     * @param engine
     */
    public GPELDeployer(XBayaEngine engine) {
        this.engine = engine;

        this.deployingDialog = new WaitDialog(this,
                "Saving a Workflow to the GPEL Engine",
                "Saving a Workflow to the GPEL Engine. "
                        + "Please wait for a moment.", this.engine);
    }
View Full Code Here

     * @param engine
     */
    public GPELLoader(XBayaEngine engine) {
        this.engine = engine;

        this.loadingDialog = new WaitDialog(this,
                "Loading a Workflow from the GPEL Engine.",
                "Loading a Workflow from the GPEL Engine. "
                        + "Please wait for a moment.", this.engine);
    }
View Full Code Here

     * @param engine
     */
    public ProvenanceRegisterer(XBayaEngine engine) {
        this.engine = engine;

        this.connectingDialog = new WaitDialog(
                this,
                "Connecting to a Kerma service",
                "Connecting to a Kerma service. " + "Please wait for a moment.",
                this.engine);
    }
View Full Code Here

        Cancelable cancelable = new Cancelable() {
            public void cancel() {
                // Nothing
            }
        };
        final WaitDialog dialog = new WaitDialog(cancelable, "title",
                "message", engine);
        Thread showThread = new Thread() {
            @Override
            public void run() {
                dialog.show();
            }

        };
        showThread.start();

        Thread.sleep(1000);

        dialog.hide();

        showThread.join();
    }
View Full Code Here

        Cancelable cancelable = new Cancelable() {
            public void cancel() {
                // Nothing
            }
        };
        final WaitDialog dialog = new WaitDialog(cancelable, "title",
                "message", engine);
        Thread showThread1 = new Thread() {
            @Override
            public void run() {
                dialog.show();
            }

        };

        Thread showThread2 = new Thread() {
            @Override
            public void run() {
                dialog.show();
            }

        };

        Thread hideThread1 = new Thread() {
            @Override
            public void run() {
                dialog.hide();
            }

        };

        showThread1.start();
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.gui.WaitDialog

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.