Package org.apache.airavata.xbaya.appwrapper

Examples of org.apache.airavata.xbaya.appwrapper.ApplicationDescriptionDialog


    public boolean triggerAction(JTree tree, String action) throws Exception {
        if (action.equals(DeleteAction.ID)) {
            deleteApplicationDescription(tree);
            return true;
        } else if (action.equals(AddAction.ID)) {
            ApplicationDescriptionDialog applicationDescriptionDialog = new ApplicationDescriptionDialog(getXBayaEngine());
            applicationDescriptionDialog.open();
            if (applicationDescriptionDialog.isApplicationDescCreated()) {
                refresh();
                reloadTreeNode(tree, this);
            }
            return true;
        }
View Full Code Here


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

  private boolean editDescriptor(JTree tree) {
    ApplicationDescriptionDialog applicationDescriptionDialog = new ApplicationDescriptionDialog(getXBayaEngine(),false,getApplicationDeploymentDescriptionWrap().getDescription(),getApplicationDeploymentDescriptionWrap().getHost(),getApplicationDeploymentDescriptionWrap().getService());
    applicationDescriptionDialog.open();
    if (applicationDescriptionDialog.isApplicationDescCreated()) {
        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 {
                        ApplicationDescriptionDialog applicationDescriptionDialog = new ApplicationDescriptionDialog(
                                engine);
                        applicationDescriptionDialog.open();
                    } catch (Exception e1) {
                        engine.getErrorWindow().error(e1);
                    }
                }
            }
View Full Code Here

TOP

Related Classes of org.apache.airavata.xbaya.appwrapper.ApplicationDescriptionDialog

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.