Package org.jets3t.apps.cockpit.gui

Examples of org.jets3t.apps.cockpit.gui.CreateBucketDialog


    private void createBucketAction() {
        String proposedNewName =
            s3ServiceMulti.getAWSCredentials().getAccessKey().toLowerCase()
            + "." + "bucket-name";
       
        CreateBucketDialog dialog = new CreateBucketDialog(proposedNewName, ownerFrame, this);
        dialog.setVisible(true);
       
        if (dialog.getOkClicked()) {
            final S3Bucket newBucket = new S3Bucket(dialog.getBucketName(),
                dialog.getBucketLocation());
           
            new Thread() {
                public void run() {
                    s3ServiceMulti.createBuckets(new S3Bucket[] { newBucket });
                }
            }.start();          
        }
        dialog.dispose();
    }
View Full Code Here


    private void createBucketAction() {
        String proposedNewName =
            s3ServiceMulti.getAWSCredentials().getAccessKey().toLowerCase()
            + "." + "bucket-name";
       
        CreateBucketDialog dialog = new CreateBucketDialog(proposedNewName, ownerFrame, this);
        dialog.setVisible(true);
       
        if (!dialog.getOkClicked()) {
            return;
        }
       
        final S3Bucket newBucket = new S3Bucket(dialog.getBucketName(), dialog.getBucketLocation());
        dialog.dispose();
               
        runInBackgroundThread(new Runnable() {
           public void run() {
               if (s3ServiceMulti.createBuckets(new S3Bucket[] { newBucket })) {
                   int modelIndex = bucketTableModel.getBucketIndexByName(newBucket.getName());
View Full Code Here

    private void createBucketAction() {
        String proposedNewName =
            s3ServiceMulti.getAWSCredentials().getAccessKey().toLowerCase()
            + "." + "bucket-name";
       
        CreateBucketDialog dialog = new CreateBucketDialog(proposedNewName, ownerFrame, this);
        dialog.setVisible(true);
       
        if (!dialog.getOkClicked()) {
            return;
        }
       
        final S3Bucket newBucket = new S3Bucket(dialog.getBucketName(), dialog.getBucketLocation());
        dialog.dispose();
               
        runInBackgroundThread(new Runnable() {
           public void run() {
               if (s3ServiceMulti.createBuckets(new S3Bucket[] { newBucket })) {
                   int modelIndex = bucketTableModel.getBucketIndexByName(newBucket.getName());
View Full Code Here

    private void createBucketAction() {
        String proposedNewName =
            s3ServiceMulti.getAWSCredentials().getAccessKey().toLowerCase()
            + "." + "bucket-name";

        CreateBucketDialog dialog = new CreateBucketDialog(proposedNewName, ownerFrame, this);
        dialog.setVisible(true);

        if (!dialog.getOkClicked()) {
            return;
        }

        final S3Bucket newBucket = new S3Bucket(dialog.getBucketName(), dialog.getBucketLocation());
        dialog.dispose();

        runInBackgroundThread(new Runnable() {
           public void run() {
               if (s3ServiceMulti.createBuckets(new S3Bucket[] { newBucket })) {
                   int modelIndex = bucketTableModel.getBucketIndexByName(newBucket.getName());
View Full Code Here

TOP

Related Classes of org.jets3t.apps.cockpit.gui.CreateBucketDialog

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.