RSE
Release 3.4

org.eclipse.rse.files.ui.dialogs
Class FileDialogFactory

java.lang.Object
  extended by org.eclipse.rse.files.ui.dialogs.FileDialogFactory

public class FileDialogFactory
extends Object

Utility class with factory methods for creating some RSE Standard Dialogs, for working with remote files.

Since:
org.eclipse.rse.files.ui 3.0

Constructor Summary
FileDialogFactory()
           
 
Method Summary
static ISaveAsDialog makeSaveAsDialog(Shell shell)
          Create an ISaveAsDialog instance, initialized for selecting a folder to save to.
static ISaveAsDialog makeSaveAsDialog(Shell shell, String title)
          Create an ISaveAsDialog instance with the given title, initialized for selecting a file to save to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDialogFactory

public FileDialogFactory()
Method Detail

makeSaveAsDialog

public static ISaveAsDialog makeSaveAsDialog(Shell shell,
                                             String title)
Create an ISaveAsDialog instance with the given title, initialized for selecting a file to save to.

Parameters:
shell - parent shell for the dialog
title - title for the dialog
Returns:
New ISaveAsDialog instance

makeSaveAsDialog

public static ISaveAsDialog makeSaveAsDialog(Shell shell)
Create an ISaveAsDialog instance, initialized for selecting a folder to save to. The dialog title will be a standard title ("Browse for Folder").

Parameters:
shell - parent shell for the dialog
Returns:
new ISaveAsDialog instance

RSE
Release 3.4

Copyright (c) IBM Corporation and others 2000, 2012. All Rights Reserved.