Difference between revisions of "Extensions.HMI.InputDialog"

From emotive
Jump to navigation Jump to search
(Created page with "Category:HMI == Classification == {{ClassificationActivity | InputDialog | Dialog, the user's input requesting | Action| OTX HMI extension | Dialog related a...")
(No difference)

Revision as of 04:19, 4 August 2014

Classification

Name InputDialog
Short Description Dialog, the user's input requesting
Class Action
Extension OTX HMI extension
Group Dialog related actions
Exceptions OutOfBoundsException
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

InputDialog(String initialValue, String instruction, String restriction, String result);

Description

The InputDialog activity opens a dialog box that requests the user's input. If necessary, an initial value can be passed to the dialog that appears first in the input field. Also, an input constraint can be passed to the dialog.

Icons Note.png InputDialog can handle only simple strings.

Properties

Name Data Type Class Default Cardinality Description
InitialValue String Term - [0..1] To initialize the string value using the input field.
Instruction String Term - [0..1] An additional message that can be displayed on the Input dialog to show information about the expected value.
Restriction String Term - [0..1] A limitation on the amount of allowable input values. The restriction will be formulated by a regular expression, to be used by runtime systems, the input data to pre-validate.
Result String Variable - [1] The entered value is assigned to this string variable.

Examples

InputDialog("initialValue", "instruction", "restriction", result);

See also

ConfirmDialog
ChoiceDialog
ShowDocumentDialog