<AddIn name        = "Subversion AddIn"
       author      = "Mike Krueger"
       copyright   = "prj:///doc/copyright.txt"
       description = "Adds support for Subversion to the project browser">
	
	<Manifest>
		<Identity name = "ICSharpCode.Svn"/>
	</Manifest>
	
	<Runtime>
		<Import assembly="SubversionAddIn.dll"/>
	</Runtime>
	
	<Path name = "/Workspace/Autostart">
		<Class id = "ICSharpCode.Svn.Commands.RegisterEventsCommand"
		       class = "ICSharpCode.Svn.Commands.RegisterEventsCommand"/>
	</Path>
	
	<Path name = "/SharpDevelop/Workbench/DisplayBindings">
		<DisplayBinding id               = "SubversionHistoryView"
		                type             = "Secondary"
		                insertbefore     = "Text"
		                class            = "ICSharpCode.Svn.HistoryViewDisplayBinding"/>
	</Path>
	
	<Path name = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/SubversionItem">
		<!-- TODO: Implement menu commands, use conditions
		<MenuItem id = "SvnUpdate"
		          label = "Update"
		          icon  = "Svn.Update"
		          class = "ICSharpCode.Svn.Commands.UpdateCommand"/>
		<MenuItem id = "SvnCommit"
		          label = "Commit"
		          icon  = "Svn.Commit"
		          class = "ICSharpCode.Svn.Commands.CommitCommand"/>
		
		<MenuItem id = "SvnRevert"
		          label = "Revert"
		          class = "ICSharpCode.Svn.Commands.RevertCommand"/>
		<MenuItem id = "SvnCreatePatch"
		          label = "Create patch"
		          icon  = "Svn.CreatePatch"
		          class = "ICSharpCode.Svn.Commands.CreatePatchCommand"/>
		-->
	</Path>
	
	<Path name = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/ProjectNode">
		<Include id = "SubversionInclude" path = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/SubversionItem"/>
	</Path>
	
	<Path name = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/FolderNode">
		<Include id = "SubversionInclude" path = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/SubversionItem"/>
	</Path>
	
	<Path name = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/FileNode">
		<Include id = "SubversionInclude" path = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/SubversionItem"/>
	</Path>
	
	<Path name = "/SharpDevelop/Dialogs/OptionsDialog">
		<DialogPanel id    = "Subversion Options"
		             label = "Subversion Options">
			<DialogPanel id = "SubversionOptionsPanel"
			             label = "Subversion Options"
			             class = "ICSharpCode.Svn.Gui.SubversionOptionsPanel"/>
		</DialogPanel>
	
	</Path>
	
	<Path name = "/SharpDevelop/Workbench/MainMenu/Tools">
		<MenuItem id = "SvnExport"
		          label = "Subversion"
				  insertbefore = "LastSeparator"
				  type="Menu">
			<MenuItem id = "SvnExport"
					  label = "Export"
					  icon  = "Svn.Export"
					  class = "ICSharpCode.Svn.Commands.ExportCommand"/>
			<MenuItem id = "SvnCheckout"
					  label = "Checkout"
					  icon  = "Svn.Checkout"
					  class = "ICSharpCode.Svn.Commands.CheckoutCommand"/>
		</MenuItem>
	</Path>
	

</AddIn>
