/*
 * $Revision: /main/PULSAR/HALLEY/1 $
 * $Date: 1999/02/04 23:25 UTC $
 */
Application "HP OpenView Windows"
{
    Description {
	"HP OpenView",
	"Application registration file for various menu items",
	"which present themselves from the ovw menu bar."
    }

    DisplayString "HP OpenView Windows";

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

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

#ifndef NT
    HelpDirectory "OVW";
#endif /* NT */

    /*
    **
    ** OVw Menu Bars
    **
    */
    
    MenuBar <100> "Map" _M
    {
#ifndef SPECIAL_EDITION
	<100>	"New..."		_N	Ctrl<Key>N
			Context (AllContexts || WantMapMenus)
			f.new_map;

	<100>	"Open..."		_O	Ctrl<Key>O
			Context (AllContexts || WantMapMenus)
			f.avail_maps;
			
	<100>	"Refresh"		_f
			Context (AllContexts || WantMapMenus)
			f.refresh_map;
			
	<100>	"Save As..."	_A	Ctrl<Key>S
			Context (AllContexts || WantMapMenus)
			f.save_map;

        /* 99 is used for ipmap and map customization */

	<98>	"Delete..."		_D
			Context (AllContexts || WantMapMenus)
			f.avail_maps;
			

#endif /* !SPECIAL_EDITION */
	<98>	"Properties..."    _r
			Context (AllContexts || WantMapMenus)
			f.map_desc;
			
	<98>   "Separator 1"
	        Context (CantTouchThis)
			f.separator;
#ifndef NT
			
	<98>	"Print Window"	_P	Ctrl<Key>P
			Context (AllContexts || WantMapMenus)
			f.action Print_Window;
#endif /* !NT */
			
	<98>	"Submap"	        _S
			Context (AllContexts || WantMapMenus)
			f.menu "Submap";
#ifndef SPECIAL_EDITION
			
	<98>	"Snapshot"		_h
			Context (AllContexts || WantMapMenus)
			f.menu "Snapshot";
#endif /* !SPECIAL_EDITION */
			
	<0>	"Exit"	_x	
			Context (CantTouchThis)
			f.exit;
    }

#ifndef NT
	Action "Print_Window" {
		Command "printwindow";
	}
#endif /* NT */

    Menu Submap
    {
	<100>	"New..."			_N
			Context (AllContexts || WantMapMenus)
			f.new_submap;
			
	<100>	"Open..."			_O
			Context (AllContexts || WantMapMenus)
			f.list_submaps;
			
	<100>	"Delete..."			_D
			Context (AllContexts || WantMapMenus)
			f.list_submaps;
			
	<100>	"Delete This Submap"	_T
			Context (AllContexts || WantMapMenus)
			f.delete_smap;
			
	<100>	"Set This Submap As Home"	_H
			Context (AllContexts || WantMapMenus)
			f.set_home_submap;
#ifndef NT
	<100>	"Make This Submap Persistent"	_M
			Context (AllContexts || WantMapMenus)
			f.persistify;
#endif /* !NT */
			
	<100>	"Properties..."		_r
			Context (AllContexts || WantMapMenus)
			f.submap_desc;
			
        <1>	"Close"		_C	<Key>Escape
			Context (AllContexts || WantMapMenus)
			f.close_smap;
	}

#ifndef SPECIAL_EDITION
    Menu "Snapshot" 
    {
	<100>	"New..."		_N
			Context (AllContexts || WantMapMenus)
			f.create_snap;
			
	<100>	"Open..."		_O
			Context (AllContexts || WantMapMenus)
			f.avail_snaps;
			
	<100>	"Delete..."		_D
			Context (AllContexts || WantMapMenus)
			f.avail_snaps;
			
	<100>	"Properties..."		_r
			Context (AllContexts || WantMapMenus)
			f.snap_desc;
			
	<100>	"Close"			_C
			Context (AllContexts || WantMapMenus)
			f.close_snapshot;
    }
#endif /* !SPECIAL_EDITION */


    MenuBar <100> "Edit" _E
    {
	<100>	"Add Object..."	_A
			Context (AllContexts || WantEditMenus)
			f.add_obj;

	<100>	"Add Connection..."	_n
			Context (AllContexts || WantEditMenus || WantEditObjs)
			f.add_conn;
	<100>   "Separator 1"
	        Context (CantTouchThis)
			f.separator;
			
	<100>	"Cut"			_t    Ctrl<Key>X
			Context (AllContexts || WantEditMenus || WantEditCut)
		    f.cut_obj_smap;
			
	<100>	"Copy"		_C    Ctrl<Key>C
			Context (AllContexts || WantEditMenus || WantEditCut)
			f.copy_obj_smap;
			
	<100>	"Paste"		_P 	Ctrl<Key>V
			Context (AllContexts || WantEditMenus || WantEditCut)
			f.paste;
			
	<100>	"Delete"		_D
			Context (AllContexts || WantEditMenus || WantEditObjs)
			f.menu Delete;
			
       <100>   "Selected Objects List..."      _L      Ctrl<Key>L
			Context (AllContexts || WantLocateMenus)
			f.sel_objs;
			
	<100>	"Find"             _F
            		Context (AllContexts || WantEditMenus || WantLocateMenus)
			f.menu Find;
	<50>   "Separator 2"
	        	Context (CantTouchThis)
			f.separator;
			
   	<50>	"Manage Objects"	_M
			Context (AllContexts || WantMapMenus)
			f.manage_objects;
			
	<50>	"Unmanage Objects"	_U
			Context (AllContexts || WantMapMenus)
			f.unmanage_objects;
			
	<1>    "Object Properties..."	_r	
			Context (AllContexts || WantEditMenus || WantEditObjs)
			f.obj_desc;
	}

    Menu Delete
    {
	<100>	"From This Submap"	_T
			Context (AllContexts || WantEditMenus || WantEditObjs)
			f.delete_obj_smap;
			
	<100>	"From All Submaps"	_A
			Context (AllContexts || WantEditMenus || WantEditObjs)
			f.delete_obj;
    }

    Menu Find
    {
	<100>	"Submap..."			_S
			Context (AllContexts || WantLocateMenus)
			f.list_submaps;
			
	<100>	"Object By Selection Name..."	_N	Ctrl<Key>F
			Context (AllContexts || WantLocateMenus)
			f.locate_name;
			
	<100>	"Object By Attribute..."	_A	Ctrl<Key>A
			Context (AllContexts || WantLocateMenus)
			f.locate_attr;
			
	<100>	"Object By Comment..."	_C
			Context (AllContexts || WantLocateMenus)
			f.locate_comment;
			
	<100>	"Object By Status..."	_u
			Context (AllContexts || WantLocateMenus)
			f.locate_status;
			
	<100>	"Object By Symbol Type..."     _T
			Context (AllContexts || WantLocateMenus)
			f.locate_type;
			
	<100>	"Object By Label..."    _L
			Context (AllContexts || WantLocateMenus)
			f.locate_label;
    }

			
    MenuBar <100> "View" _V
    {
	<100>	"Highlights"             _H
            Context (AllContexts || WantEditMenus )
			f.menu Highlights;
			
	<100>	"Hidden Objects"	   _n
			Context (AllContexts || WantEditMenus || WantEditHide)
			f.menu "Hidden Objects";
#ifdef NT
	<100>	"Toolbar"		_T
			Context (AllContexts || WantViewMenus)
			f.submap_toolbar_toggle;
			
    	<100>   "Status Bar"            _S
			Context (AllContexts || WantViewMenus)
			f.submap_status_toggle;
#else /* NT */
			
	<100>	"Toolbar"		_T
			Context (AllContexts || WantViewMenus)
			f.toolbar_toggle;
#endif /* NT */
	<100>	"Pan and Zoom"	        _Z
			Context (AllContexts || WantViewMenus)
			f.show_panner;
#ifndef NT
			
	<100>	"User Plane"	_U
			Context (AllContexts || WantViewMenus)
			f.user_plane;
			
	<100>	"Automatic Layout"	_A
			Context (AllContexts || WantViewMenus)
			f.auto_layout;
			
	<100>	"Submap Overlay"	_O
			Context (AllContexts || WantViewMenus)
			f.overlay_toggle;
			
#else /* NT */
	<100>	"Submap Overlay"	_O
			Context (AllContexts || WantViewMenus)
			f.nt_overlay_toggle;
#endif /* NT */
			
	<100>	"Window Geometry"	_G
			Context (AllContexts || WantViewMenus)
			f.menu "Window Geometry";
			
	<100>	"Redo Layout"		_R
			Context (AllContexts || WantViewMenus)
			f.redolayout;
    }

    Menu Highlights
    {
	<100>	"Select Highlighted"	_S   Ctrl<Key>H
			Context (AllContexts || WantEditMenus)
			f.select_highlighted;
			
	<100>	"Clear Highlighted"	_C
			Context (AllContexts || WantEditMenus)
			f.clear_highlights;
    }

    Menu "Hidden Objects"
    {
	<100>	"Hide Selected From This Submap"	_T
			Context (AllContexts || WantEditMenus || WantEditHide)
			f.hide_obj_smap;
			
	<100>	"Hide Selected From All Submaps"	_A
			Context (AllContexts || WantEditMenus || WantEditHide)
			f.hide_obj;
			
	<100>	"Show Hidden On This Submap"	_S
			Context (AllContexts || WantEditMenus || WantEditHide)
			f.unhide;
			
	<100>	"Show Hidden On All Submaps"	_O
			Context (AllContexts || WantEditMenus || WantEditHide)
			f.unhide_all;
	}

	Menu "Window Geometry"
	{
		<100>	"Save For This Submap"	_T
			Context (AllContexts || WantViewMenus)
			f.geometry_smap;
			
		<100>	"Save For All Open Submaps"	_A
			Context (AllContexts || WantViewMenus)
			f.geometry_all;
			
		<100>	"Clear For This Submap"	_S
			Context (AllContexts || WantViewMenus)
			f.geometry_smap_off;
			
		<100>	"Clear For All Open Submaps"	_O
			Context (AllContexts || WantViewMenus)
			f.geometry_all_off;
	}

			
    MenuBar <100> "Performance" _P
    {
    }
    
    MenuBar <100> "Configuration" _C
    {
    }

    MenuBar <100> "Fault" _F
    {
    }

    MenuBar <100> "Accounting" _A
    {
    }

    MenuBar <100> "Security" _S
    {
    }

    MenuBar <100> "Tools" _T
    {
    }

    MenuBar <100> "Options" _O
    {
    }

    MenuBar <100> "Window" _W
    {
	<100>   "Separator 1"
	        Context (CantTouchThis)
			f.separator;
#ifdef NT
	<100>	"Cascade Submaps"	        _C
			Context (AllContexts || WantLocateMenus)
			f.cascade_submaps; 
			
	<100>   "Separator 2"
	        Context (CantTouchThis)
			f.separator;
#endif /* NT */
	<100>	"Root"	                _R
			Context (AllContexts || WantLocateMenus)
			f.goto_root;
			
	<100>	"Home"	                _H
			Context (AllContexts || WantLocateMenus)
			f.goto_home;
			
	<100>	"Parent"		        _P
			Context (AllContexts || WantLocateMenus)
			f.goto_parent;
			
	<51>   "Separator 3"
	        Context (CantTouchThis)
			f.separator;
    }

    MenuBar <0> "Help" _H
    {
	<90>	"Display Legend"	_D
			Context (AllContexts || WantHelpMenus)
			f.disp_legend;
#ifndef NT
	<80>	"Mouse and Keyboard"	_M
			Context (AllContexts || WantHelpMenus)
			f.help_browser "ovw:mousenkeyboard";
			
	<80>	"On Window"
			Context (AllContexts || WantHelpMenus)
			f.help_browser "ovw:overv";
			
	<60>	"Using Help"			_H
			Context (AllContexts || WantHelpMenus)
			f.on_help;
			
   	<50>    "Misc"             _i
            Context (AllContexts || WantHelpMenus)
            f.menu "Misc Help";
#endif /* !NT */
	<43>	"Release Notes" _L f.action "ReleaseNotes";

	<40>	"About HP OpenView..."     _A
			Context (AllContexts || WantHelpMenus)
			f.about_ovw;
    }

    Action "ReleaseNotes"
    {
       Command "ovweb -ReleaseNotes README_NNMGR.html";
    }

#ifndef NT
    Menu "Misc Help"
    {
        <98>    "Tasks"                 _T
            Context (AllContexts || WantHelpMenus)
                        f.task_index;
			
        <98>    "Functions"             _F
            Context (AllContexts || WantHelpMenus)
                        f.function_index;
    }
#endif /* !NT */

    /*
     *  OVw Popup menu 
     */

			
    PopupItem <100> "Open" Context (AllContexts || WantPopupMenus) 
                     TargetSymbolType ANY f.open_symbol;
			
    PopupItem <100> "Change Symbol Type..." Context (AllContexts || WantPopupMenus)
                     TargetSymbolType ANY f.change_symbol;
			
    PopupItem <100> "Symbol Properties..." Context (AllContexts || WantPopupMenus) 
                     TargetSymbolType ANY f.sym_desc;
			
    PopupItem <100> "Delete " Context (AllContexts || WantPopupMenus)
                     TargetSymbolType ANY f.delete_symbol;
			
    PopupItem <100> "Hide" Context (AllContexts || WantPopupMenus)
                     TargetSymbolType ANY f.hide_symbol;
			
    PopupItem <100> "Set Star Center" Context (AllContexts || WantPopupMenus)
                     TargetSymbolType ANY f.star_center_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
     */

#ifndef SPECIAL_EDITION
    /* Uncomment these for text buttons */

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

    ToolbarButton <100> "Close "    Context "AllContexts" f.close_smap;
    ToolbarButton <100> "Home "     Context "AllContexts" f.goto_home;
    ToolbarButton <100> "Root "     Context "AllContexts" f.goto_root;
    ToolbarButton <100> "Parent "   Context "AllContexts" f.goto_parent;
    ToolbarButton <100> "TBAR_SEP1"   Context "AllContexts" f.separator;
    ToolbarButton <100> "Pan"       Context "AllContexts" f.show_panner;
    ToolbarButton <100> "TBAR_SEP2"   Context "AllContexts" f.separator;
    ToolbarButton <100> "Open View" Context "AllContexts" f.about_ovw;

    ----  Remove this line for text buttons on the toolbar ----  */
#endif /* !SPECIAL_EDITION */



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

    ToolbarButton <100>
#ifdef NT
		@"toolbar/close.bmp,Close"
#else /* NT */
    	@"toolbar/close.24.pm:toolbar/noclos.24.pm"
#endif /* NT */
		Context "AllContexts" f.close_smap;

    ToolbarButton <100>
#ifdef NT
		@"toolbar/home.bmp,Home" 
#else /* NT */
		@"toolbar/home.24.pm:toolbar/nohome.24.pm" 
#endif /* NT */
		Context "AllContexts" f.goto_home;

    ToolbarButton <100>
#ifdef NT
		@"toolbar/root.bmp,Root"
#else /* NT */
		@"toolbar/root.24.pm:toolbar/noroot.24.pm"
#endif /* NT */
		Context "AllContexts" f.goto_root;

    ToolbarButton <100>
#ifdef NT
		@"toolbar/parent.bmp,Parent"
#else /* NT */
    	@"toolbar/parent.24.pm:toolbar/noparent.24.pm"
#endif /* NT */
		Context "AllContexts" f.goto_parent;

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

    ToolbarButton <90> 
#ifdef NT
		@"toolbar/pan.bmp,Pan && Zoom"
#else /* NT */
    	@"toolbar/pan.24.pm:toolbar/nopan.24.pm"
#endif /* NT */
		Context "AllContexts" f.show_panner;

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

    ToolbarButton <0>
#ifdef NT
		@"toolbar/hpov.bmp,About HP OpenView"
#else /* NT */
    	@"toolbar/hpov.24.pm:toolbar/nohpov.24.pm"
#endif /* NT */
		Context "AllContexts" f.about_ovw;
}
