dialogs
(plugins.dialogs)
Overview
Scriptable object for dialog plugin
Methods Summarized
Methods Detailed
showErrorDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons. Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters
String dialogTitle Dialog title.
String dialogMessage Dialog message.
Array buttonsText variable arguments of button texts.
Returns: String pressed button text
Sample
showInfoDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons. Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters
String dialogTitle Dialog title.
String dialogMessage Dialog message.
Array buttonsText variable arguments of button texts.
Returns: String pressed button text
Sample
showInputDialog()
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Returns: String input text or null
Sample
showInputDialog(dialog_title)
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Parameters
String dialog_title ;
Returns: String input text or null
Sample
showInputDialog(dialog_title, msg)
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Parameters
Returns: String input text or null
Sample
showInputDialog(dialog_title, msg, initialValue)
Shows an input dialog where the user can enter data. Returns the entered data, or nothing when canceled.
Parameters
Returns: String input text or null
Sample
showQuestionDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons. Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters
String dialogTitle Dialog title.
String dialogMessage Dialog message.
Array buttonsText variable arguments of button texts.
Returns: String pressed button text
Sample
showSelectDialog(dialog_title, msg, optionArray)
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled.
Parameters
Returns: String selected value or null
Sample
showSelectDialog(dialog_title, msg, options)
Shows a selection dialog, where the user can select an entry from a list of options. Returns the selected entry, or nothing when canceled.
Parameters
Returns: String selected value or null
Sample
showWarningDialog(dialogTitle, dialogMessage, buttonsText)
Shows a message dialog with the specified title, message and a customizable set of buttons. Returns pressed button text, in case window is closed without pressing any button return value depends on client type.
Parameters
String dialogTitle Dialog title.
String dialogMessage Dialog message.
Array buttonsText variable arguments of button texts.
Returns: String pressed button text
Sample
Last updated