<AddIn name        = "Filetype Registerer"
       author      = "Georg Brandl"
       copyright   = "prj:///doc/copyright.txt"
       description = "Registers files in the Windows Explorer for #Develop"
       addInManagerHidden = "preinstalled">
	
	<Manifest>
		<Identity name = "ICSharpCode.FiletypeRegisterer"/>
		<Dependency addin="SharpDevelop"/>
	</Manifest>
	
	<Runtime>
		<Import assembly = "ICSharpCode.FiletypeRegisterer.dll">
			<Doozer name = "FiletypeAssociation"
			        class = "ICSharpCode.FiletypeRegisterer.FiletypeAssociationDoozer"/>
		</Import>
	</Runtime>
	
	<Path name = "/AddIns/FileTypeRegisterer/FileTypes">
		<FiletypeAssociation
			id = "sln"
			autoRegister = "True"
			icon = "${AddInPath:ICSharpCode.FiletypeRegisterer}/filetypes/cmbx.ico"
			text = "${res:ICSharpCode.FiletypeRegisterer.SolutionFileAssozisation}"/>
		<FiletypeAssociation
			id = "csproj"
			autoRegister = "True"
			icon = "${AddInPath:ICSharpCode.FiletypeRegisterer}/filetypes/prjx.ico"
			text = "C# ${res:ICSharpCode.FiletypeRegisterer.Project}"/>
		<FiletypeAssociation
			id = "vbproj"
			autoRegister = "True"
			icon = "${AddInPath:ICSharpCode.FiletypeRegisterer}/filetypes/prjx.ico"
			text = "VB ${res:ICSharpCode.FiletypeRegisterer.Project}"/>
		<FiletypeAssociation
			id = "sdaddin"
			autoRegister = "True"
			icon = "${AddInPath:ICSharpCode.FiletypeRegisterer}/filetypes/addin.ico"
			text = "SharpDevelop ${res:AddInManager.FileAssociation}"/>
		<FiletypeAssociation
			id = "cs"
			icon = "${AddInPath:ICSharpCode.FiletypeRegisterer}/filetypes/cs.ico"
			text = "${res:ICSharpCode.FiletypeRegisterer.CSharpSourceFileAssozisation}"/>
		<FiletypeAssociation
			id = "vb"
			icon = "${AddInPath:ICSharpCode.FiletypeRegisterer}/filetypes/vb.ico"
			text = "${res:ICSharpCode.FiletypeRegisterer.VBNetSourceFileAssozisation}"/>
		<!--<FiletypeAssociation
			id = "java"
			icon = "${AddInPath:ICSharpCode.FiletypeRegisterer}/filetypes/java.ico"
			text = "${res:ICSharpCode.FiletypeRegisterer.JavaSourceFileAssozisation}"/>-->
		<FiletypeAssociation
			id = "resx"
			icon = "${AddInPath:ICSharpCode.FiletypeRegisterer}/filetypes/resx.ico"
			text = "${res:ICSharpCode.FiletypeRegisterer.ResXResourceFilesFileAssozisation}"/>
		<FiletypeAssociation
			id = "resources"
			icon = "${AddInPath:ICSharpCode.FiletypeRegisterer}/filetypes/resx.ico"
			text = "${res:ICSharpCode.FiletypeRegisterer.BinaryResourceFilesFileAssozisation}"/>
		<FiletypeAssociation
			id = "xml"
			icon = "${AddInPath:ICSharpCode.FiletypeRegisterer}/filetypes/xml.ico"
			text = "${res:ICSharpCode.FiletypeRegisterer.XmlFileAssozisation}"/>
	</Path>
	
	<!-- Disabled as we now do initial registration in the setup
	<Path name = "/SharpDevelop/Autostart">
		<Condition name = "Compare" string = "${property:SharpDevelop.FiletypesRegisterStartup??False}" equals = "True">
			<Class id    = "RegisterFiletypes"
			       class = "ICSharpCode.FiletypeRegisterer.RegisterFiletypesCommand"/>
		</Condition>
	</Path>
	-->
	
	<Path name = "/SharpDevelop/Dialogs/OptionsDialog/UIOptions">
		<OptionPanel id          = "RegisterFiletypes"
		             label       = "${res:ICSharpCode.SharpDevelop.Gui.Dialogs.OptionPanels.RegisterFiletypesPanel.PanelName}"
		             insertafter = "LoadSave"
		             class       = "ICSharpCode.FiletypeRegisterer.RegisterFiletypesPanel"/>
	</Path>
</AddIn>
