Examples of XBayaEngine


Examples of org.apache.airavata.xbaya.XBayaEngine

        Workflow workflow = creator.createComplexMathWorkflow();
        workflow.createScript();

        Monitor monitor;
        if (this.gui) {
            this.engine = new XBayaEngine(this.configuration);
            this.graphCanvas = this.engine.getGUI().getGraphCanvas();
            this.graphCanvas.setWorkflow(workflow);
            monitor = this.engine.getMonitor();
            this.engine.getGUI().eventReceived(new Event(Type.MONITOR_STARTED));
            repaintAndWait(2);
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

        JMenuItem item = new JMenuItem("Setup Airavata Registry...",MenuIcons.JCR_ICON);
        item.setMnemonic(KeyEvent.VK_J);
        AbstractAction action = new AbstractAction() {

            public void actionPerformed(ActionEvent e) {
                XBayaEngine xbayaEngine = engine;
                XBayaUtil.updateJCRRegistryInfo(xbayaEngine);
            }

        };
    item.addActionListener(action);
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

    private void createConfigureRegistryItem() {
        this.configureRegistryItem = new JMenuItem("Configure Registry");
        configureRegistryItem.setMnemonic(KeyEvent.VK_C);
        configureRegistryItem.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                XBayaEngine xbayaEngine = ExperimentMenu.this.engine;
                XBayaUtil.updateJCRRegistryInfo(xbayaEngine);
            }
        });
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

    /**
     * @throws InterruptedException
     *
     */
    public void testShowHide() throws InterruptedException {
        XBayaEngine engine = new XBayaEngine(this.configuration);
        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();
            }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

    /**
     * @throws InterruptedException
     *
     */
    public void testShowShowHide() throws InterruptedException {
        XBayaEngine engine = new XBayaEngine(this.configuration);
        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();
            }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

    /**
     * @throws InterruptedException
     *
     */
    public void testShowHideShowHide() throws InterruptedException {
        XBayaEngine engine = new XBayaEngine(this.configuration);
        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();
            }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

    /**
     * @throws InterruptedException
     */
    public void testShowHideHide() throws InterruptedException {
        XBayaEngine engine = new XBayaEngine(this.configuration);
        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();
            }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

    /**
     * @throws InterruptedException
     */
    public void testShowShowHideHide() throws InterruptedException {
        XBayaEngine engine = new XBayaEngine(this.configuration);
        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();
            }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

        XBayaConfiguration config = new XBayaConfiguration();
        config.setMyProxyServer("myproxy.teragrid.org");
        config.setMyProxyUsername("USER");
        config.setMyProxyPassphrase("PASSWORD");

        new XBayaEngine(config);
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.XBayaEngine

        JMenuItem item = new JMenuItem("Setup JCR Registry...",MenuIcons.JCR_ICON);
        item.setMnemonic(KeyEvent.VK_J);
        AbstractAction action = new AbstractAction() {

            public void actionPerformed(ActionEvent e) {
                XBayaEngine xbayaEngine = engine;
                XBayaUtil.updateJCRRegistryInfo(xbayaEngine);
            }

        };
    item.addActionListener(action);
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.