Attribute | Mand. | Description | Default |
id | yes | Identifier of the menu entry. | |
template | no | ITEM.template | |
label | yes | Text of the menu entry. | |
shortcut | no | Keyboard shortcut of menu entry. The expected value is an alphanumeric character that is not case sensitive. |
|
controller | no | Reference of the controller that manages the menu entry (i.e. handles user demands and refresh content). | |
enabled | no | Indicates whether the menu entry is enabled or not (true if it is enabled). | true |
checkBox | no | Indicates whether the menu entry is of check box type or not. | false |
checked | no | Indicates whether the menu entry is selected or not. This value is used only if the entry is of check box type. |
false |
dialog | no | Indicates whether the action generated by the menu entry opens a dialog window or not. At the display time, suspension points are added if the attribute is set to ?true? |
false |
image | no | Image associated to the menu item. | |
font | no | ITEM.font | |
color | no | ITEM.color | |
fontColor | no | ITEM.fontColor |
<!-- Print menu entry --> <ITEM label="Print" shortcut="P" image="LY_ACTION_PRINT" dialog="true"/> <!-- Menu entry of check box type --> <ITEM label="Display label" shortcut="L" checkbox="true" checked="true"/> |