/** * Dialog box for displaying and modifying the logging status of buckets. * * @param ownerFrame * the frame that will own the dialog. * @param s3Service * an S3 Service that will be used to query and update the logging status of buckets. This * service must be initialised with the necessary AWS credentials to perform the logging status * change operations. * @param buckets * the buckets in the user's S3 account. * @param hyperlinkListener * the listener that will act on any hyperlink events triggered by the user clicking on HTTP links. */ public static void showDialog(Frame ownerFrame, S3Service s3Service, S3Bucket[] buckets, HyperlinkActivatedListener hyperlinkListener) { String[] bucketNames = new String[buckets.length]; for (int i = 0; i < buckets.length; i++) { bucketNames[i] = buckets[i].getName(); } showDialog(ownerFrame, s3Service, bucketNames, hyperlinkListener); }
/** * Dialog box for displaying and modifying the logging status of buckets. * * @param ownerFrame * the frame that will own the dialog. * @param s3Service * an S3 Service that will be used to query and update the logging status of buckets. This * service must be initialised with the necessary AWS credentials to perform the logging status * change operations. * @param buckets * the buckets in the user's S3 account. * @param hyperlinkListener * the listener that will act on any hyperlink events triggered by the user clicking on HTTP links. */ public static void showDialog(Frame ownerFrame, S3Service s3Service, S3Bucket[] buckets, HyperlinkActivatedListener hyperlinkListener) { String[] bucketNames = new String[buckets.length]; for (int i = 0; i < buckets.length; i++) { bucketNames[i] = buckets[i].getName(); } showDialog(ownerFrame, s3Service, bucketNames, hyperlinkListener); }
BucketLoggingDialog.showDialog(ownerFrame, s3ServiceMulti.getS3Service(), buckets, this);
BucketLoggingDialog.showDialog(ownerFrame, s3ServiceMulti.getS3Service(), buckets, this);