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

Examples of org.apache.airavata.xbaya.ui.dialogs.descriptors.DeploymentDescriptionDialog$StringArrayComboBoxEditor


    public boolean triggerAction(JTree tree, String action) throws Exception {
        if (action.equals(DeleteAction.ID)) {
            deleteServiceDescription(tree);
            return true;
        } else if (action.equals(AddAction.ID)) {
          DeploymentDescriptionDialog serviceDescriptionDialog = new DeploymentDescriptionDialog(null, getRegistry());
          serviceDescriptionDialog.open();
//            ServiceDescriptionDialog serviceDescriptionDialog = new ServiceDescriptionDialog(getRegistry());
//            serviceDescriptionDialog.open();
            if (serviceDescriptionDialog.isServiceCreated()) {
                refresh();
                reloadTreeNode(tree, this);
            }
            return true;
        }
View Full Code Here


        }
        return super.triggerAction(tree, action);
    }

  private boolean editServiceDescription(JTree tree) {
    DeploymentDescriptionDialog serviceDescriptionDialog = new DeploymentDescriptionDialog(getRegistry(),false,getServiceDescription(), null);
      serviceDescriptionDialog.open();
//    ServiceDescriptionDialog serviceDescriptionDialog = new ServiceDescriptionDialog(getRegistry(),false,getServiceDescription());
//    serviceDescriptionDialog.open();
    if (serviceDescriptionDialog.isServiceCreated()) {
        refresh();
        reloadTreeNode(tree, this);
    }
    return true;
  }
View Full Code Here

TOP

Related Classes of org.apache.airavata.xbaya.ui.dialogs.descriptors.DeploymentDescriptionDialog$StringArrayComboBoxEditor

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.