<AddIn name        = "HexEditor"
       author      = "Siegfried Pammer"
       url         = ""
       description = "Hexadecimal Editor DisplayBinding"
       addInManagerHidden = "preinstalled">
	
	<Manifest>
		<Identity name="SiegfriedPammer.HexEditor" />
	</Manifest>
	
	<Runtime>
		<Import assembly = "HexEditor.dll"/>
		<Import assembly = ":ICSharpCode.SharpDevelop"/>
	</Runtime>
	
	<Path name = "/SharpDevelop/Workbench/DisplayBindings">
		<DisplayBinding id = "HexEditor"
		                insertafter = "Text"
		                supportedformats = "Binaries"
		                title = "Hex editor"
		                class = "HexEditor.View.HexEditDisplayBinding"/>
	</Path>
	
   	<Path name = "/SharpDevelop/Dialogs/OptionsDialog/ToolsOptions">
		<OptionPanel id    = "HexEditor"
		             label = "Hex Editor"
		             class = "HexEditor.View.HexEditOptionsPanel"/>
	</Path>
	
	<!-- Right click menu -->
	<Path name = "/AddIns/HexEditor/Editor/ContextMenu">
		<Include id = "Cut" item = "/SharpDevelop/Workbench/MainMenu/Edit/Cut"/>
		<MenuItem id="Copy" label="Copy" type="Menu">
			<MenuItem id="CopyAsBinary" label="As binary" class="HexEditor.Commands.CopyAsBinary" />
			<MenuItem id="CopyAsHexString" label="As hex string" class="HexEditor.Commands.CopyAsHexString" />
		</MenuItem>
		<Include id = "Paste" item = "/SharpDevelop/Workbench/MainMenu/Edit/Paste"/>
		<Include id = "Delete" item = "/SharpDevelop/Workbench/MainMenu/Edit/Delete"/>
		<MenuItem id = "Separator1" type = "Separator"/>
		<Include id = "SelectAll" item="/SharpDevelop/Workbench/MainMenu/Edit/SelectAll"/>
		<MenuItem id = "Separator1" type = "Separator"/>
		<MenuItem id = "Save"
		          label = "${res:XML.MainMenu.FileMenu.Save}"
		          icon = "Icons.16x16.SaveIcon"
		          shortcut = "Control|S"
		          class = "ICSharpCode.SharpDevelop.Commands.SaveFile"/>
		<MenuItem id = "SaveAs"
		          label = "${res:XML.MainMenu.FileMenu.SaveAs}"
		          class = "ICSharpCode.SharpDevelop.Commands.SaveFileAs"/>
		<MenuItem id = "Separator1" type = "Separator"/>
		<MenuItem id = "Close"
		          label = "${res:XML.MainMenu.FileMenu.Close}"
		          class = "ICSharpCode.SharpDevelop.Commands.CloseFile"/>
	</Path>
</AddIn>
