1 jls.loader.provide('jls.gui.CommonDialog');
  2 
  3 /**
  4  * @class CommonDialog helps to deal with standard dialogs.
  5  */
  6 jls.gui.CommonDialog = jls.gui.require('CommonDialog');
  7 /**
  8  * Prompts the user for a file to open then returns the selected filename.
  9  *
 10  * @param {jls.gui.Element} [element] The parent element.
 11  * @returns {String} The selected filename.
 12  * @function
 13  * @name getOpenFileName
 14  * @memberOf jls.gui.CommonDialog
 15  */
 16 /**
 17  * Prompts the user for a file to save then returns the selected filename.
 18  *
 19  * @param {jls.gui.Element} [element] The parent element.
 20  * @param {Boolean} [confirmOverwrite] true if the user must confirm when an existing file is selected.
 21  * @returns {String} The selected filename.
 22  * @function
 23  * @name getSaveFileName
 24  * @memberOf jls.gui.CommonDialog
 25  */
 26