Package org.apache.airavata.xbaya.appwrapper

Examples of org.apache.airavata.xbaya.appwrapper.HostDescriptionDialog.open()


        if (action.equals(DeleteAction.ID)) {
            deleteHostDescription(tree);
            return true;
        } else if (action.equals(AddAction.ID)) {
            HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine());
            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(),false,getHostDescription());
    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);
                        hostDescriptionDialog.open();
                    } catch (Exception e1) {
                        engine.getErrorWindow().error(e1);
                    }
                }
            }
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.