Detailed Domain Specs, List MD3
(This also applies for sets. Then for Detailed domain specs read Details domain specification. For 'variable' read 'set'.)
Add Alternative (element)
- In Inspector, section Detailed domain specs, do one of the next:
- Right-click and select Add new alternative.
- Click the button with the plus-sign.
- Double-click the list at an empty place.
- In the dialog tab Specification type an alternative name (also named Domain element). For type Number List it must be numerical.
- In the dialog tab Consultation an Explanation text can be entered. When it is not empty, an icon will appear during consultation. It is a circle with character "i". The icon can be clicked to see the explanation. (UI Attributes see elsewhere in these pages.)
- Click button Add.
Update Alternative
In Inspector, section Detailed domain specs, double-click the alternative to change or select it and click the button with the plus-sign. Edit the details as described above.
Remove Alternative
In Inspector section Detailed domain specs select an alternative. Do one of the next:
- Right-click and select Delete alternative.
- Click the button with the minus-sign.
Order of Alternatives
In Inspector section Detailed domain specs a single alternative can be changed in order. Click it, hold down the mouse button and drag it to a desired position in the list.
Near the buttons with plus-sign and minus-sign is a button to sort the alternatives. When clicked, 'Text List' alternatives are sorted alphabetically. 'Number List' alternatives are sorted numerically. (TO CONSIDER: reverse on second click.)
Default Alternative
Among several alternatives in the list, one can be marked as the default value for the variable. Right-click the variable and select Toggle default. The value becomes bold. (TODO: no it is still *d* alttext.)
To remove the default indication, click it and select Toggle default again. To mark a new alternative instead of an existing one, right-click the new and select Toggle default.
Exclusive Alternative
Among several alternatives in the list, one can be marked as the exclusive value for the variable. This feature is only effective when the variable is "multi-valued" (Checkbox Allow multiple values is on). Then the alternative acts as "None of the choices applies".
Right-click the variable and select Toggle exclusive. The value becomes italic. (TODO: no it is still *e* alttext.)
To remove the exclusive indication, click it and select Toggle exclusive again. To mark a new alternative instead of an existing one, right-click the new and select Toggle exclusive.
The Number Format applies to variables of type Number List and Number Length. See item at the left.