public class SaveAsDialog extends TitleAreaDialog (Code)
A standard "Save As" dialog which solicits a path from the user. The
getResult method returns the path. Note that the folder
at the specified path might not exist and might need to be created.
This class may be instantiated; it is not intended to be subclassed.
Sets the completion state of this dialog and adjusts the enable state of
the Ok button accordingly.
Parameters: value - true if this dialog is compelete, andfalse otherwise
setOriginalFile
public void setOriginalFile(IFile originalFile)(Code)
Sets the original file to use.
Parameters: originalFile - the original file
setOriginalName
public void setOriginalName(String originalName)(Code)
Set the original file name to use.
Used instead of setOriginalFile
when the original resource is not an IFile.
Must be called before create.
Parameters: originalName - default file name