Examples of WaitDialog


Examples of org.apache.airavata.xbaya.ui.dialogs.WaitDialog

     * @param parent
     */
    public InstancesLoader(XBayaEngine engine, JDialog parent) {
        this.engine = engine;
        this.parent = parent;
        this.loadingDialog = new WaitDialog(this, "Loading EC2 Instances.", "Loading EC2 Instances.\n"
                + "Please wait for a moment.", this.engine.getGUI());
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.dialogs.WaitDialog

     * @param parent
     */
    public BucketsLoader(XBayaGUI xbayaGUI, JDialog parent) {
        this.xbayaGUI=xbayaGUI;
        this.parent = parent;
        this.loadingDialog = new WaitDialog(this, "Loading S3 Buckets.", "Loading S3 Buckets.\n"
                + "Please wait for a moment.", this.xbayaGUI);
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.dialogs.WaitDialog

     * @param engine
     */
    private ComponentRegistryLoader(XBayaEngine engine) {
        this.setEngine(engine);

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

Examples of org.apache.airavata.xbaya.ui.dialogs.WaitDialog

     * @param engine
     */
    private ComponentRegistryLoader(XBayaEngine engine) {
        this.setEngine(engine);

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

Examples of org.apache.airavata.xbaya.ui.dialogs.WaitDialog

     * @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.getGUI());
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.dialogs.WaitDialog

        }
      }
      break;
    case EXECUTION_TASK_START:
      TaskNotification task = (TaskNotification) data;
      final WaitDialog waitDialog = new WaitDialog(new Cancelable() {
        @Override
        public void cancel() {
          // Do nothing
        }
      }, task.messageTitle, task.message, this.xbayaGUI);
      new Thread(new Runnable() {
        @Override
        public void run() {
          waitDialog.show();
        }
      }).start();
      taskDialogs.put(task.messageId, waitDialog);
      break;
    case EXECUTION_TASK_END:
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.dialogs.WaitDialog

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

        };
        showThread.start();

        Thread.sleep(1000);

        dialog.hide();

        showThread.join();
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.dialogs.WaitDialog

        Cancelable cancelable = new Cancelable() {
            public void cancel() {
                // Nothing
            }
        };
        final WaitDialog dialog = new WaitDialog(cancelable, "title", "message", engine.getGUI());
        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

Examples of org.apache.airavata.xbaya.ui.dialogs.WaitDialog

        Cancelable cancelable = new Cancelable() {
            public void cancel() {
                // Nothing
            }
        };
        final WaitDialog dialog = new WaitDialog(cancelable, "title", "message", engine.getGUI());
        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();
            }

        };

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

        };

        showThread1.start();
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.dialogs.WaitDialog

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

        };

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

        };

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

        };

        showThread1.start();
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.