Class: RemoteFileDialog

RemoteFileDialog()

A dialog box letting the user choose a remote open or save file.

Constructor

new RemoteFileDialog()

Source:

Methods

(static) showDialog(xmlEditor, optionsopt, saveModeopt) → {Promise}

Displays a dialog box letting the user choose a remote open or save file.
Parameters:
Name Type Attributes Default Description
xmlEditor XMLEditor the XML editor hosting this dialog box.
options object <optional>
{} options - dialog box options. See description in ResourceStorage#openResource.
saveMode boolean <optional>
false saveMode - specify true to display a save file dialog, false to display an open file dialog.
Source:
Returns:
A Promise containing info about the chosen file or null if user clicked Cancel.
uri
Absolute URI of chosen file.
option_name
Only when a dialog box "accessory" has been specified: true if corresponding check box is checked; false otherwise.
Type
Promise