Package org.apache.airavata.xbaya.amazonEC2.gui

Examples of org.apache.airavata.xbaya.amazonEC2.gui.ChangeCredentialWindow


      public void actionPerformed(ActionEvent e) {
        if (AmazonCredential.getInstance().getAwsAccessKeyId().isEmpty() || AmazonCredential.getInstance().getAwsSecretAccessKey().isEmpty()) {
          S3FileChooser.this.engine.getErrorWindow().warning(S3FileChooser.this.dialog.getDialog(), "Error", "Aws Access Key not set!");
         
          if (this.credentialWindow == null) {
            this.credentialWindow = new ChangeCredentialWindow(S3FileChooser.this.dialog.getDialog());
          }
          try {
            this.credentialWindow.show();
          } catch (Exception e1) {
            S3FileChooser.this.engine.getErrorWindow().error(e1);
View Full Code Here


    registryMenuItem = new RegistryMenuItem(getEngine(),getToolBar());
    toolsMenuItem = new ToolsMenuItem(getEngine());
   
    workflowMenu = new WorkflowMenu(getEngine());
    experimentMenu = new ExperimentMenu(getEngine());
    amazonEC2Menu = new AmazonEC2Menu(getEngine());
    componentMenu = new ComponentMenu(getEngine());
    monitorMenu = new MonitorMenu(getEngine());
    // this.myProxyMenu = new MyProxyMenu(this.engine);
    registerApplications = new RegisterApplicationsMenu(getEngine());
View Full Code Here

                    // create S3Service
                    S3Service s3Service = new RestS3Service(new AWSCredentials(AmazonCredential.getInstance()
                            .getAwsAccessKeyId(), AmazonCredential.getInstance().getAwsSecretAccessKey()));

                    BucketsLoader bucketsLoader = new BucketsLoader(S3FileChooser.this.engine,
                            S3FileChooser.this.dialog.getDialog());
                    bucketsLoader.load(s3Service, S3FileChooser.this.s3Tree);

                } catch (S3ServiceException s3ex) {
                    S3FileChooser.this.engine.getErrorWindow().error(s3ex);
                }
            }
View Full Code Here

                        || AmazonCredential.getInstance().getAwsSecretAccessKey().isEmpty()) {
                    S3FileChooser.this.engine.getErrorWindow().warning(S3FileChooser.this.dialog.getDialog(), "Error",
                            "Aws Access Key not set!");

                    if (this.credentialWindow == null) {
                        this.credentialWindow = new ChangeCredentialWindow(S3FileChooser.this.dialog.getDialog());
                    }
                    try {
                        this.credentialWindow.show();
                    } catch (Exception e1) {
                        S3FileChooser.this.engine.getErrorWindow().error(e1);
View Full Code Here

        /*
         * ScrollPane for S3 Tree
         */
        // add tree listener to this
        this.s3Tree = new S3Tree();
        this.s3Tree.addTreeSelectionListener(this);

        JScrollPane scrollPane = new JScrollPane(this.s3Tree);

        /*
 
View Full Code Here

TOP

Related Classes of org.apache.airavata.xbaya.amazonEC2.gui.ChangeCredentialWindow

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.