Class: FileRepositoryConnectionConfigurator

.FileBrowsingDialog. FileRepositoryConnectionConfigurator

new FileRepositoryConnectionConfigurator()

The object that handles file repository connection configuration.


configureConnection(currentUrl, fileName, callback)

Method that should be implemented and which should ask the user to configure the File Repository Connection. For example, switch to a different WebDAV server, or to a different GitHub repository.
Name Type Description
currentUrl string The URL of the folder that is opened in the file browser, or null if there is no folder opened in the dialog.
fileName string The name of the file that is currently selected in the browser, or null if the dialog points to a directory.
callback sync.api.FileBrowsingDialog~ConnectionConfigured The function to which the new configuration is returned.