Examples of DeploymentDescriptionDialog


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

    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

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

        }
        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
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.