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

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


        }
        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

      private static final long serialVersionUID = 1L;
            @Override
            public void actionPerformed(ActionEvent e) {
                if (XBayaUtil.acquireJCRRegistry(engine)) {
                    try {
                        DeploymentDescriptionDialog serviceDescriptionDialog = new DeploymentDescriptionDialog(XBayaMenuItem.this.engine.getGUI().getFrame(), engine.getConfiguration()
                                        .getAiravataAPI());
                      serviceDescriptionDialog.open();
//                        ServiceDescriptionDialog serviceDescriptionDialog = new ServiceDescriptionDialog(
//                                engine.getConfiguration().getJcrComponentRegistry()
//                                        .getRegistry());
//                        serviceDescriptionDialog.open();
                    } catch (Exception e1) {
View Full Code Here

      private static final long serialVersionUID = 1L;
            @Override
            public void actionPerformed(ActionEvent e) {
                if (XBayaUtil.acquireJCRRegistry(engine)) {
                    try {
                        DeploymentDescriptionDialog serviceDescriptionDialog = new DeploymentDescriptionDialog(XBayaMenuItem.this.engine.getGUI().getFrame(), engine.getConfiguration().getJcrComponentRegistry()
                                        .getRegistry());
                      serviceDescriptionDialog.open();
//                        ServiceDescriptionDialog serviceDescriptionDialog = new ServiceDescriptionDialog(
//                                engine.getConfiguration().getJcrComponentRegistry()
//                                        .getRegistry());
//                        serviceDescriptionDialog.open();
                    } catch (Exception e1) {
View Full Code Here

    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

      private static final long serialVersionUID = 1L;
            @Override
            public void actionPerformed(ActionEvent e) {
                if (XBayaUtil.acquireJCRRegistry(engine)) {
                    try {
                      DeploymentDescriptionDialog serviceDescriptionDialog = new DeploymentDescriptionDialog(engine.getConfiguration().getJcrComponentRegistry().getRegistry());
                      serviceDescriptionDialog.open();
//                        ServiceDescriptionDialog serviceDescriptionDialog = new ServiceDescriptionDialog(
//                                engine.getConfiguration().getJcrComponentRegistry()
//                                        .getRegistry());
//                        serviceDescriptionDialog.open();
                    } catch (Exception e1) {
View Full Code Here

    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(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());
      serviceDescriptionDialog.open();
//    ServiceDescriptionDialog serviceDescriptionDialog = new ServiceDescriptionDialog(getRegistry(),false,getServiceDescription());
//    serviceDescriptionDialog.open();
    if (serviceDescriptionDialog.isServiceCreated()) {
        refresh();
        reloadTreeNode(tree, this);
    }
    return true;
  }
View Full Code Here

      private static final long serialVersionUID = 1L;
            @Override
            public void actionPerformed(ActionEvent e) {
                if (XBayaUtil.acquireJCRRegistry(engine)) {
                    try {
                        DeploymentDescriptionDialog serviceDescriptionDialog = new DeploymentDescriptionDialog(XBayaMenuItem.this.engine.getGUI().getFrame(), engine.getConfiguration()
                                        .getAiravataAPI());
                      serviceDescriptionDialog.open();
//                        ServiceDescriptionDialog serviceDescriptionDialog = new ServiceDescriptionDialog(
//                                engine.getConfiguration().getJcrComponentRegistry()
//                                        .getRegistry());
//                        serviceDescriptionDialog.open();
                      if (serviceDescriptionDialog.isServiceCreated()){
//                        engine.reloadRegistry();
                        ComponentRegistryLoader loader = ComponentRegistryLoader.getLoader(engine, RegistryConstants.REGISTRY_TYPE_JCR);
                        loader.load(engine.getConfiguration().getJcrComponentRegistry());
                      }
                    } catch (Exception e1) {
View Full Code Here

TOP

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

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.