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

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


    public boolean triggerAction(JTree tree, String action) throws Exception {
        if (action.equals(DeleteAction.ID)) {
            deleteHostDescription(tree);
            return true;
        } else if (action.equals(AddAction.ID)) {
            HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getAiravataAPI(), null);
            hostDescriptionDialog.open();
            if (hostDescriptionDialog.isHostCreated()) {
                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 {
                        HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(
                            engine.getConfiguration().getAiravataAPI(),XBayaMenuItem.this.engine.getGUI().getFrame() );
                        hostDescriptionDialog.open();
                    } catch (Exception e1) {
                        engine.getGUI().getErrorWindow().error(e1);
                    }
                }
            }
View Full Code Here

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

    public boolean triggerAction(JTree tree, String action) throws Exception {
        if (action.equals(DeleteAction.ID)) {
            deleteHostDescription(tree);
            return true;
        } else if (action.equals(AddAction.ID)) {
            HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getJcrComponentRegistry().getRegistry(), null);
            hostDescriptionDialog.open();
            if (hostDescriptionDialog.isHostCreated()) {
                refresh();
                reloadTreeNode(tree, this);
            }
            return true;
        }
View Full Code Here

    public String getDefaultAction() {
      return EditAction.ID;
    }
   
  private boolean editHostDescription(JTree tree) {
    HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getJcrComponentRegistry().getRegistry(),false,getHostDescription(), null);
    hostDescriptionDialog.open();
    if (hostDescriptionDialog.isHostCreated()) {
        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 {
                        HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(
                            engine.getConfiguration().getJcrComponentRegistry().getRegistry());
                        hostDescriptionDialog.open();
                    } catch (Exception e1) {
                        engine.getGUI().getErrorWindow().error(e1);
                    }
                }
            }
View Full Code Here

    public boolean triggerAction(JTree tree, String action) throws Exception {
        if (action.equals(DeleteAction.ID)) {
            deleteHostDescription(tree);
            return true;
        } else if (action.equals(AddAction.ID)) {
            HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getJcrComponentRegistry().getRegistry());
            hostDescriptionDialog.open();
            if (hostDescriptionDialog.isHostCreated()) {
                refresh();
                reloadTreeNode(tree, this);
            }
            return true;
        }
View Full Code Here

    public String getDefaultAction() {
      return EditAction.ID;
    }
   
  private boolean editHostDescription(JTree tree) {
    HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getJcrComponentRegistry().getRegistry(),false,getHostDescription());
    hostDescriptionDialog.open();
    if (hostDescriptionDialog.isHostCreated()) {
        refresh();
        reloadTreeNode(tree, this);
    }
    return true;
  }
View Full Code Here

    public boolean triggerAction(JTree tree, String action) throws Exception {
        if (action.equals(DeleteAction.ID)) {
            deleteHostDescription(tree);
            return true;
        } else if (action.equals(AddAction.ID)) {
            HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getAiravataAPI(), null);
            hostDescriptionDialog.open();
            if (hostDescriptionDialog.isHostCreated()) {
                refresh();
                reloadTreeNode(tree, this);
            }
            return true;
        }
View Full Code Here

    public String getDefaultAction() {
      return EditAction.ID;
    }
   
  private boolean editHostDescription(JTree tree) {
    HostDescriptionDialog hostDescriptionDialog = new HostDescriptionDialog(getXBayaEngine().getConfiguration().getAiravataAPI(),false,getHostDescription(), null);
    hostDescriptionDialog.open();
    if (hostDescriptionDialog.isHostCreated()) {
        refresh();
        reloadTreeNode(tree, this);
    }
    return true;
  }
View Full Code Here

TOP

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

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.