/*
 ** 
 **  @(#)HP OpenView Windows Menu Registration
 **
 **  $Revision: /main/PULSAR/23 $ 
 **  $Date: 1998/07/20 17:29 UTC $
 **
 **
 **  Alter this file at your own risk.
 **
 */

Application "HP OpenView Network Presenter"
{

    Version "NNM Release B.06.01  Apr 09 1999";

    Copyright {
	"Copyright (c) 1990-1999 Hewlett-Packard Company",
	"All rights reserved."
    }

    Description {
	"HP OpenView",
	"Network Presenter"
    }

    DisplayString "HP OpenView Network Presenter";
    
    /*
    **
    ** OVw Menu Bars
    **
    */

    MenuBar <100> "Map"
    {
	<1>	"Close Submap"		
			Context (AllContexts || WantMapMenus)
			f.close_smap;
	<0>	"Exit"			
			Context (CantTouchThis)
			f.exit;
    }

    MenuBar <100> "Edit"
    {
	<100>	"Object Properties"	
			Context (AllContexts || WantEditMenus || WantEditObjs)
			f.obj_desc;
    }



    MenuBar <100> "View"
    {
	<100>	"Pan and Zoom"	        
			Context (AllContexts || WantViewMenus)
			f.show_panner;
	<100>	"Display in New Window"	        
			Context (AllContexts || WantViewMenus)
			f.new_window;
	<100>	"Up One Level"	        
			Context (AllContexts || WantViewMenus)
			f.goto_levelAbove;
	<100>	"Top of Hierarchy"	        
			Context (AllContexts || WantViewMenus)
			f.goto_root;
    }

    MenuBar <100> "Performance" 
    {
    }




    MenuBar <100> "Configuration" 
    {
    }



    MenuBar <100> "Fault" 
    {
    }



    MenuBar <100> "Accounting" 
    {
    }



    MenuBar <100> "Security" 
    {
    }

    Menu "Map Configuration"
    {
    }



    MenuBar <0> "Help" 
    {
/*
	<100>	"Display Legend"	
			Context (AllContexts || WantHelpMenus)
			f.disp_legend;
*/
	<97>	"NNM"		       
			Context (AllContexts || WantHelpMenus)
			f.menu "NNM";

        <97>    "About HP OpenView"        Context "AllContexts" f.about;
    }

    Menu "NNM"
    {
        <98>    "Overview"             
			Context (AllContexts || WantHelpMenus)
                        f.action Overview;
        <98>    "Tasks"                 
			Context (AllContexts || WantHelpMenus)
                        f.action Tasks;
    }

    Action "Overview"
    {
        URL "/OvCgi/OvWebHelp.exe?Context=cxtref&Content=cntref&Scope=scpref&Topic=Overview";
        WebWindow fullhelp
        {
            Type full;
        }
    }

    Action "Tasks"
    {
        URL "/OvCgi/OvWebHelp.exe?Context=cxttsk&Content=cnttsk&Scope=scptsk&Topic=Tasks";
        WebWindow fullhelp
        {
            Type full;
        }
    }

    /*
     *  OVw Popup menu 
     */

    PopupItem <100> "Open Symbol" Context (AllContexts || WantPopupMenus) 
                     TargetSymbolType ANY f.open_symbol;
    PopupItem <100> "PopupSeparator1" Context (AllContexts || WantPopupMenus)
                     TargetSymbolType ANY f.separator;
    PopupItem <100> "Object Properties" Context (AllContexts || WantPopupMenus)
                     TargetSymbolType ANY f.obj_desc;




    /*
     *  Toolbar buttons with text
     */

    /* Uncomment these for text buttons */

/*  ----  Remove this line for text buttons on the toolbar ----

    ToolbarButton <100> "Close" Context "AllContexts" f.close_smap;
    ToolbarButton <100> "Top of Context" Context "AllContexts" f.goto_root;
    ToolbarButton <100> "Up One Level" Context "AllContexts" f.goto_levelAbove;
    ToolbarButton <90>  "TBAR_SEP1"  Context "AllContexts" f.separator;
    ToolbarButton <90>  "Pan" Context "AllContexts" f.show_panner;
    ToolbarButton <0>   "TBAR_SEP2"  Context "AllContexts" f.separator;
    ToolbarButton <80>  "New Window" Context "AllContexts" f.new_window;
    ToolbarButton <80>  "Table" Context "AllContexts" f.view_table;
    ToolbarButton <80>  "Graph" Context "AllContexts" f.view_graph;

    ----  Remove this line for text buttons on the toolbar ----  */



    /*
     *  Toolbar buttons with icons - icon paths are relative to OV bitmaps
     *  directory.
     */

    ToolbarButton <100> @"C/toolbar/close.24.gif"
		Context "AllContexts" f.close_smap;

    ToolbarButton <100> @"C/toolbar/root.24.gif"
		Context "AllContexts" f.goto_root;

    ToolbarButton <100> @"C/toolbar/uplevel.24.gif"
		Context "AllContexts" f.goto_levelAbove;

    ToolbarButton <90> "TBAR_SEP1"  Context "AllContexts" f.separator;

    ToolbarButton <90> @"C/toolbar/pan.24.gif"
		Context "AllContexts" f.show_panner;

    ToolbarButton <0> "TBAR_SEP2"  Context "AllContexts" f.separator;

    ToolbarButton <100> @"C/toolbar/newwin.24.gif"
                Context "AllContexts" f.new_window;

    ToolbarButton <100> @"C/toolbar/table.24.gif"
                Context "AllContexts" f.view_table;

    ToolbarButton <100> @"C/toolbar/map.24.gif"
                Context "AllContexts" f.view_graph;

}

