The custom-menu-config.xml file in either of the following folders contains examples of how to add custom menus and custom menu items to the Operations Console:
Use the <menu> and <item> XML elements to create menus and menu items. The <menu> element can enclose one or more <item> elements that define the commands on the menu. The <item> element can enclose several other elements that define how the menu item appears and behaves. The following table describes each element:
|
Element |
Parent Element |
Description |
|
<menu> |
<root> |
Defines the menu. The name attribute defines the name of the menu. |
|
<separator> |
<menu> |
Defines a separator line. Use it before an <item> element. |
|
<item> |
<menu> |
Defines an item on a menu. Use the name attribute to define the item name. |
|
<privilege> |
<item> |
Associates a privilege to the menu item. A user who does not have this privilege cannot access the menu item. |
|
<toolbar-image> |
<item> |
Specifies the image to display for the menu item and its associated toolbar button. |
|
<toolbar-image-rollover> |
<item> |
Specifies the toolbar image displayed when a user places the cursor hovers over the toolbar button. |
|
<toolbar-image-disabled> |
<item> |
Specifies the toolbar image displayed when the functionality is disabled (not available to the user). A typical representation for this state is an image that is 80% dimmed. |
|
<accelerator> |
<item> |
Defines a keyboard sequence that completes the action that the menu item defines. |
|
<action> |
<item> |
Defines the action that the menu item performs. |
|
<hot-key> |
<item> |
Underlines the first instance of the indicated letter as a keyboard shortcut, and performs the action when that letter is pressed. |
|
Copyright © 2013 CA.
All rights reserved.
|
|