Module ProjectDialog

Module in charge of new/load/save GUI dialogs.

Functions

showDialog (params, callbackFunction) Shows a dialog that allows the user to select a project and a name of a content.


Functions

showDialog (params, callbackFunction)
Shows a dialog that allows the user to select a project and a name of a content.

Parameters:

  • params tab

    Table of parameters tha can contain the following slots.

    • visibilityHandler - function that is called with true when dialog is shown and with false when it is hidden, can be used to disable other components while the dialog is shown
    • contentType - ProjectManager.ContentType that the dialog handles
    • dialogType - one of the following
      • ProjectDialog.LOAD_DIALOG
      • ProjectDialog.SAVE_DIALOG
      • ProjectDialog.NEW_DIALOG
    • title - title of the dialog
    • x, y - position where to show the dialog
    • project, name - initial selected items in the dialog
  • callbackFunction func Function that gets called after the dialog concludes.
generated by LDoc 1.4.3 Last updated 2017-06-01 23:07:48