Package org.apache.airavata.xbaya.ui.dialogs.descriptors

Examples of org.apache.airavata.xbaya.ui.dialogs.descriptors.HostDescriptionDialog.open()


        if (action.equals(DeleteAction.ID)) {
            deleteHostDescription(tree);
            return true;
        } else if (action.equals(AddAction.ID)) {
            HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getAiravataAPI(), null);
            hostDescriptionDialog.open();
            if (hostDescriptionDialog.isHostCreated()) {
                refresh();
                reloadTreeNode(tree, this);
            }
            return true;
View Full Code Here


            public void actionPerformed(ActionEvent e) {
                if (XBayaUtil.acquireJCRRegistry(engine)) {
                    try {
                        HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(
                            engine.getConfiguration().getAiravataAPI(),XBayaMenuItem.this.engine.getGUI().getFrame() );
                        hostDescriptionDialog.open();
                    } catch (Exception e1) {
                        engine.getGUI().getErrorWindow().error(e1);
                    }
                }
            }
View Full Code Here

            public void actionPerformed(ActionEvent e) {
                if (XBayaUtil.acquireJCRRegistry(engine)) {
                    try {
                        HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(
                            engine.getConfiguration().getJcrComponentRegistry().getRegistry(),XBayaMenuItem.this.engine.getGUI().getFrame() );
                        hostDescriptionDialog.open();
                    } catch (Exception e1) {
                        engine.getGUI().getErrorWindow().error(e1);
                    }
                }
            }
View Full Code Here

        if (action.equals(DeleteAction.ID)) {
            deleteHostDescription(tree);
            return true;
        } else if (action.equals(AddAction.ID)) {
            HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getJcrComponentRegistry().getRegistry(), null);
            hostDescriptionDialog.open();
            if (hostDescriptionDialog.isHostCreated()) {
                refresh();
                reloadTreeNode(tree, this);
            }
            return true;
View Full Code Here

      return EditAction.ID;
    }
   
  private boolean editHostDescription(JTree tree) {
    HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getJcrComponentRegistry().getRegistry(),false,getHostDescription(), null);
    hostDescriptionDialog.open();
    if (hostDescriptionDialog.isHostCreated()) {
        refresh();
        reloadTreeNode(tree, this);
    }
    return true;
View Full Code Here

            public void actionPerformed(ActionEvent e) {
                if (XBayaUtil.acquireJCRRegistry(engine)) {
                    try {
                        HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(
                            engine.getConfiguration().getJcrComponentRegistry().getRegistry());
                        hostDescriptionDialog.open();
                    } catch (Exception e1) {
                        engine.getGUI().getErrorWindow().error(e1);
                    }
                }
            }
View Full Code Here

        if (action.equals(DeleteAction.ID)) {
            deleteHostDescription(tree);
            return true;
        } else if (action.equals(AddAction.ID)) {
            HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getJcrComponentRegistry().getRegistry());
            hostDescriptionDialog.open();
            if (hostDescriptionDialog.isHostCreated()) {
                refresh();
                reloadTreeNode(tree, this);
            }
            return true;
View Full Code Here

      return EditAction.ID;
    }
   
  private boolean editHostDescription(JTree tree) {
    HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getJcrComponentRegistry().getRegistry(),false,getHostDescription());
    hostDescriptionDialog.open();
    if (hostDescriptionDialog.isHostCreated()) {
        refresh();
        reloadTreeNode(tree, this);
    }
    return true;
View Full Code Here

        if (action.equals(DeleteAction.ID)) {
            deleteHostDescription(tree);
            return true;
        } else if (action.equals(AddAction.ID)) {
            HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getAiravataAPI(), null);
            hostDescriptionDialog.open();
            if (hostDescriptionDialog.isHostCreated()) {
                refresh();
                reloadTreeNode(tree, this);
            }
            return true;
View Full Code Here

      return EditAction.ID;
    }
   
  private boolean editHostDescription(JTree tree) {
    HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getAiravataAPI(),false,getHostDescription(), null);
    hostDescriptionDialog.open();
    if (hostDescriptionDialog.isHostCreated()) {
        refresh();
        reloadTreeNode(tree, this);
    }
    return true;
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.