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 withtrue
when dialog is shown and withfalse
when it is hidden, can be used to disable other components while the dialog is showncontentType
- ProjectManager.ContentType that the dialog handlesdialogType
- one of the followingProjectDialog.LOAD_DIALOG
ProjectDialog.SAVE_DIALOG
ProjectDialog.NEW_DIALOG
title
- title of the dialogx
,y
- position where to show the dialogproject
,name
- initial selected items in the dialog
- callbackFunction func Function that gets called after the dialog concludes.
- params
tab