The <menu> element is used to create an Operations Console menu.
Follow these steps:
Note: The <root> element is the first element for this file. You must define all new menus inside the <root> element.
Note: Some examples in the custom-menu-config.xml file show a fully qualified menu name that references a Java class. For example, com.aprisma.spectrum.app.swing.window.menu.Tool is the name attribute in the <menu> element for the Tools menu. You do not have to use a fully qualified name; simply use the exact text that you would like for the menu name.
Note: For more information, see Add a Menu Item. If you do not specify menu items, the menu is not visible in the Operations Console.
Example: Add a New Menu
This example shows a new Connections menu.
<menu name="Connections">
<item name="Ping Local"> . . . </item> <item name="Launch Diagnostics"> . . . </item>
</menu>
|
Copyright © 2013 CA.
All rights reserved.
|
|