<AddIn name        = "Git AddIn"
       author      = "Daniel Grunwald"
       description = "Git Binding"
       addInManagerHidden = "preinstalled">
	
	<Manifest>
		<Identity name="ICSharpCode.GitAddIn" />
	</Manifest>
	
	<Runtime>
		<Import assembly = "GitAddIn.dll">
			<ConditionEvaluator name="IsUnderGitControl" class="ICSharpCode.GitAddIn.IsUnderGitControlCondition"/>
		</Import>
	</Runtime>
	
	<Path name = "/SharpDevelop/Autostart">
		<Class id = "ICSharpCode.GitAddIn.RegisterEventsCommand"
		       class = "ICSharpCode.GitAddIn.RegisterEventsCommand"/>
	</Path>
	
	<Path name="/Workspace/DocumentVersionProviders">
		<Class id="git"
		       class="ICSharpCode.GitAddIn.GitVersionProvider" />
	</Path>
	
	<Path name = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/GitItem">
		<Condition name = "IsUnderGitControl">
			<MenuItem id = "GitSeparator" type = "Separator"/>
			
			<MenuItem id = "GitCommit"
			          label = "Git ${res:AddIns.Subversion.Commit}..."
			          icon  = "Svn.Commit"
			          class = "ICSharpCode.GitAddIn.GitCommitCommand"/>
			
			<MenuItem id = "GitDiff"
			          label = "Git ${res:AddIns.Subversion.Diff}..."
			          icon  = "Svn.Diff"
			          class = "ICSharpCode.GitAddIn.GitDiffCommand"/>
		
			<MenuItem id = "GitLog"
			          label = "Git ${res:AddIns.Subversion.ShowLog}..."
			          class = "ICSharpCode.GitAddIn.GitLogCommand"/>
		</Condition>
	</Path>
	
	<Path name = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/SolutionNode">
		<Include id = "SubversionInclude" path = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/GitItem"/>
	</Path>
	
	<Path name = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/ProjectNode">
		<Include id = "SubversionInclude" path = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/GitItem"/>
	</Path>
	
	<Path name = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/FolderNode">
		<Include id = "SubversionInclude" path = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/GitItem"/>
	</Path>
	
	<Path name = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/FileNode">
		<Include id = "SubversionInclude" path = "/SharpDevelop/Pads/ProjectBrowser/ContextMenu/GitItem"/>
	</Path>

	<Path name = "/SharpDevelop/Dialogs/OptionsDialog/ToolsOptions">
		<OptionPanel id = "GitOptionsPanel"
		             insertafter="SubversionOptionsPanel"
		             label = "${res:AddIns.Git.Options.Title}"
		             class = "ICSharpCode.GitAddIn.GitOptionsPanel"/>
	</Path>
</AddIn>
