summaryrefslogtreecommitdiffstats
path: root/uitest/ui_logger_dsl/dialog_commands.tx
blob: 637b54f0c976270edbfb04d759df918c18477509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
  This file is for the Dialog commands.
  It handles all types of Dialog: the Modeless and the Modal.
  It also handles the Close Dialog commands.
*/
DialogCommand:
  OpenDialog | CloseDialog
;

OpenDialog:
  OpenModalDialog | OpenModelessDialog
;
OpenModalDialog :
  'Open Modal ' dialog_name=ID
;
OpenModelessDialog :
  'Open Modeless ' dialog_name=ID
;

CloseDialog:
  // If there is a need to match a dialog name in the future, additional_note=STRING? can be used.
  // It is also used to make an instance of the command of type CloseDialog.
  'Close Dialog' additional_note=STRING?
;