<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--
/*
 * Copyright (c) OutWit Technologies 2007-2017.
 * All rights reserved.
 */
-->
<!DOCTYPE window [
<!ENTITY % menuDTD SYSTEM "chrome://outwit-modules-docs/locale/menu.dtd">
  %menuDTD;
]>
<overlay 
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:html="http://www.w3.org/1999/xhtml">

	<popupset id="owDocsPopups">
		<menupopup id="owDocsSearchContextMenu">
			<menuitem label="&searchtree.popup.openURL;" oncommand="searchTreeCtrl.openURL()"/>
			<menuitem label="&searchtree.popup.copyURL;" oncommand="searchTreeCtrl.copyURL()"/>
			<menuitem label="&searchtree.popup.remove;" oncommand="searchTreeCtrl.removeSelection()"/>
			<menuseparator />
			<menuitem label="&searchtree.popup.removeEmpty;" oncommand="searchTreeCtrl.removeEmpty()"/>
			<menuitem label="&searchtree.popup.removeAll;" oncommand="searchTreeCtrl.removeAll()"/>
		</menupopup>

		<menupopup id="owDocsContextMenu" onpopupshowing="return popupMenuCtrl.onPopupShowing()">
			<menuitem label="&popup.openDocument;" oncommand="popupMenuCtrl.openDocument()"/>
			<menuitem label="&popup.openSourceUrl;" oncommand="popupMenuCtrl.openSourceURL()"/>
			<menuitem id="owDocsContextMenuExplore" label="&popup.exploreSourceUrl;" oncommand="popupMenuCtrl.explore()"/>
			<menuseparator />
			<menuitem
				id="owDocsContextMenuRemove"
				label="&popup.removeDocument;"
				oncommand="popupMenuCtrl.remove()"
			/>
			<menuseparator />
			<menuitem label="&menu.file.saveSelected;" oncommand="popupMenuCtrl.save()"/>
			<menuitem label="&menu.file.saveSelectedAs;" oncommand="popupMenuCtrl.saveAs('')"/>
			<menuitem
				id="owDocsContextMenuSaveAll"
				label="&menu.file.saveAllThumbsAs;"
				oncommand="popupMenuCtrl.saveAll('')"
			/>
			<menuseparator />
			<menuitem label="&popup.copyLink;" oncommand="popupMenuCtrl.copyLink()"/>
			<menuitem label="&popup.sendLink;" oncommand="popupMenuCtrl.sendLink()"/>
			<menuseparator />
			<menuitem
				id="owDocsContextMenuSendToCatch"
				label="&popup.addToCatch;"
				oncommand="popupMenuCtrl.sendToCatch()"
			/>
			<menuitem label="&popup.extractText;" oncommand="popupMenuCtrl.extractText()" disabled="true"/>
		</menupopup>
	</popupset>

 </overlay>

