|
Introducing Table Pop Up menus
The option to invoke additional functionality through menus by right clicking the managed objects listed for certain panels, introduces the concept of Table Pop-up menus. The Table Pop-up menus pop up on right clicking the managed objects listed in the table of the Network Database panel, Network Events panel, Alarms panel and Performance panel.
Configuring Table pop-up menus through Tree.xml file
The Table Pop up menu items are specified in the TABLE-POP-UP-MENU attribute of the Tree.xml file of <Web NMS Home>/users/<username> directory. This attribute can take multiple menu configuration file names and JMenus which are subset of the panel specific menu ( (given for the MENU-FILE-NAME attribute for the corresponding panel in the Tree.xml). The combination of both can also be given. In case of multiple menus, the menu items are displayed as different sub-menu items for the table pop-up menu.
For example, for the Network Events panel the JMenu specified as Table Pop-up menu is as shown in the snippet below.
<DEVICE
ID="Events"
Client="All"
TREE-NAME="Network Events"
TREE-POPUP-MENU="Custom Views,frameoptions.xml,TreeOperations.xml"
ICON-FILE="images/event.png"
TABLE-POPUP-MENU="View"/>
</DEVICE>
Therefore for the Events Panel the Table Pop-Up menu is View which is nothing but the same Panel specific menu. The menu items are the same as that specified for the same Panel specific menu in the respective .xml file.
|