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

Examples of org.apache.airavata.xbaya.ui.dialogs.descriptors.HostDeploymentDialog.HostDeployment


      updateIODataTable(descType);
        getDeployments().clear();
        try {
      Map<String, ApplicationDescription> descs = getRegistry().getApplicationManager().getApplicationDescriptors(descType.getName());
      for (String hostDescName : descs.keySet()) {
          getDeployments().put(hostDescName, new HostDeployment(getRegistry().getApplicationManager().getHostDescription(hostDescName), descs.get(hostDescName)));
      }

      updateDeploymentTable();
      Boolean selected = false;
      if (descType.getPortType()!=null && descType.getPortType().getMethod()!=null) {
View Full Code Here


  private void editSelectedDeployment() {
    String hostName = tblModelHosts.getValueAt(tblHosts.getSelectedRow(),0).toString();
    HostDeploymentDialog hostDeploymentDialog = new HostDeploymentDialog(getRegistry(),false,getDeployments().get(hostName).getApplicationDescription(),hostName,Arrays.asList(getDeployments().keySet().toArray(new String[]{})));
    try {
      HostDeployment deployDesc = hostDeploymentDialog.execute();
      if (deployDesc!=null){
        getDeployments().put(deployDesc.getHostDescription().getType().getHostName(), deployDesc);
        updateDeploymentTable();
      }
    } catch (AiravataAPIInvocationException e1) {
      setError(e1.getLocalizedMessage());
      e1.printStackTrace();
View Full Code Here

TOP

Related Classes of org.apache.airavata.xbaya.ui.dialogs.descriptors.HostDeploymentDialog.HostDeployment

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.