Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MonoDevelop.XmlEditor.addin.xml « MonoDevelop.XmlEditor « addins « src « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5611c904436d00bb9136d29077e2a32b3b997bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<Addin name        = "XML Editor"
       id          = "XmlEditor"
       namespace   = "MonoDevelop"
       author      = "Matt Ward, Michael Hutchinson"
       copyright   = "MIT X11"
       url         = "http://md-xed.sourceforge.net"
       description = "XML Editor"
       category    = "IDE extensions"
       version     = "4.2">

	<Runtime>
		<Import assembly="MonoDevelop.XmlEditor.dll" />
		<Import file="schemas/appconfig.xsd" />
		<Import file="schemas/MonoDevelopAddIn.xsd" />
		<Import file="schemas/readme.txt" />
		<Import file="schemas/XMLSchema.xsd" />
		<Import file="schemas/W3C-License.html" />
		<Import file="schemas/xslt.xsd" />
		<Import file="schemas/manifest.xsd" />
		<Import file="schemas/nant.xsd" />
	</Runtime>

	<Dependencies>
		<Addin id="Core" version="4.2"/>
		<Addin id="Ide" version="4.2"/>
		<Addin id="DesignerSupport" version="4.2"/>
		<Addin id="SourceEditor2" version="4.2"/>
	</Dependencies>

	<ExtensionPoint path = "/MonoDevelop/XmlEditor/XmlFileAssociations">
		<ExtensionNode name = "Association" type = "MonoDevelop.XmlEditor.XmlFileAssociationNode"/>
	</ExtensionPoint>

	<ExtensionPoint path = "/MonoDevelop/XmlEditor/XmlSchemas">
		<ExtensionNode name = "Schema" type = "MonoDevelop.XmlEditor.XmlSchemaNode" />
	</ExtensionPoint>

	<!-- Additional file extensions that will be opened in the XML editor -->
	<Extension path = "/MonoDevelop/XmlEditor/XmlFileAssociations">
		<Association extension = ".build"  namespaceUri="http://nant.sf.net/release/0.85-rc3/nant.xsd" />
		<Association extension = ".config" namespaceUri="urn:app-config" />
		<Association extension = ".xsd"    namespaceUri="http://www.w3.org/2001/XMLSchema" namespacePrefix="xs" />
		<Association extension = ".xsl"    namespaceUri="http://www.w3.org/1999/XSL/Transform" namespacePrefix="xsl" />
		<Association extension = ".xslt"   namespaceUri="http://www.w3.org/1999/XSL/Transform" namespacePrefix="xsl" />
		<Association extension = ".stetic" />
	</Extension>

	<Extension path = "/MonoDevelop/XmlEditor/XmlSchemas">
		<Schema file="schemas/appconfig.xsd" />
		<Schema file="schemas/MonoDevelopAddIn.xsd" />
		<Schema file="schemas/XMLSchema.xsd" />
		<Schema file="schemas/xslt.xsd" />
		<Schema file="schemas/manifest.xsd" />
		<Schema file="schemas/nant.xsd" />
	</Extension>

	<Extension path = "/MonoDevelop/Ide/TextEditorExtensions">
		<Class id="MonoDevelop.XmlEditor.XmlTextEditorExtension" class = "MonoDevelop.XmlEditor.XmlTextEditorExtension" />
	</Extension>

	<!-- Commands -->
	<Extension path = "/MonoDevelop/Ide/Commands">
		<Category _name = "XmlEditor" id="XmlEditor">
			<Command id = "MonoDevelop.XmlEditor.Commands.CreateSchema"
					_label = "Create _Schema"
					description = "Creates a schema from XML"/>
			<Command id = "MonoDevelop.XmlEditor.Commands.Validate"
					_label = "_Validate"
					description = "Validates the XML against a schema"/><!--
			<Command id = "MonoDevelop.XmlEditor.Commands.OpenXPathQueryPad"
					defaultHandler = "MonoDevelop.XmlEditor.OpenXPathQueryPadCommand"
					_label = "_XPath Query..."
					description = "Opens XPath Query window"/>
			<Command id = "MonoDevelop.XmlEditor.Commands.RemoveXPathHighlighting"
					defaultHandler = "MonoDevelop.XmlEditor.RemoveXPathHighlightingCommand"
					_label = "Remove XPath _Highlighting"
					description = "Removes the highlighted XPath matches."/>-->
			<Command id = "MonoDevelop.XmlEditor.Commands.AssignStylesheet"
					_label = "_Assign XSLT..."
					description = "Assigns a stylesheet to the current xml document"/>
			<Command id = "MonoDevelop.XmlEditor.Commands.OpenStylesheet"
					_label = "_Open XSLT"
					description = "Opens the assigned stylesheet"/>
			<Command id = "MonoDevelop.XmlEditor.Commands.RunXslTransform"
					_label = "Run XSL_T"
					shortcut = "Alt|Control|T"
					description = "Runs an XSL transform"/>
			<Command id = "MonoDevelop.XmlEditor.Commands.GoToSchemaDefinition"
					_label = "_Go to Schema Definition"
					description = "Jumps to the schema definition"/>
		</Category>
	</Extension>

	<!-- XML menu -->
	<Extension path = "/MonoDevelop/Ide/MainMenu/Tools">
		<ItemSet id = "XmlMenu" insertafter = "AddinManagerSeparator" _label = "_XML" >
			<CommandItem id = "MonoDevelop.XmlEditor.Commands.CreateSchema" />
			<CommandItem id = "MonoDevelop.XmlEditor.Commands.GoToSchemaDefinition" />
			<CommandItem id = "MonoDevelop.XmlEditor.Commands.Validate" /><!--
			<SeparatorItem id = "XPathCommandsSeparator"/>
			<CommandItem id = "MonoDevelop.XmlEditor.Commands.OpenXPathQueryPad" />
			<CommandItem id = "MonoDevelop.XmlEditor.Commands.RemoveXPathHighlighting" />
			<SeparatorItem id = "StylesheetCommandsSeparator"/>-->
			<CommandItem id = "MonoDevelop.XmlEditor.Commands.AssignStylesheet"/>
			<CommandItem id = "MonoDevelop.XmlEditor.Commands.OpenStylesheet"/>
			<CommandItem id = "MonoDevelop.XmlEditor.Commands.RunXslTransform"/>
			<SeparatorItem/>
		</ItemSet>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/GlobalOptionsDialog/TextEditor/Behavior">
		<Section id = "XmlFormattingOptions" insertbefore="Formatting" _label = "XML" fill="true" class = "MonoDevelop.XmlEditor.Gui.XmlEditorOptionsPanel"/>
	</Extension>
	<Extension path = "/MonoDevelop/Ide/GlobalOptionsDialog/TextEditor">
		<Section id = "XmlSchemas" _label = "XML Schemas" fill="true" class = "MonoDevelop.XmlEditor.Gui.XmlSchemasPanel"/>
	</Extension>

	<!-- XPath Query pad -->
	<!-- Bug in the DockFrame (gitem is null but code calls SetVisible
		when visible is false) prevents us from using setting the XPathQueryPad
		to be a pad
	<Extension path = "/MonoDevelop/Ide/Pads">
		<Pad id = "MonoDevelop.XmlEditor.XPathQueryPad"
		     class = "MonoDevelop.XmlEditor.XPathQueryPad"
		     defaultPlacement = "Bottom"
		     _label = "XPath Query"/>
	</Extension>-->

	<!-- Put the XPath Query pad in the View menu -->
	<!--<Extension path = "/SharpDevelop/Workbench/Contexts/Edit">
		<ContextPad id = "MonoDevelop.XmlEditor.XPathQueryPad"/>
	</Extension>-->

	<Extension path = "/MonoDevelop/TypeSystem/Parser">
		<Parser class = "MonoDevelop.XmlEditor.XmlDocumentParser" mimeType = "application/xml" id = "XmlParser"/>
	</Extension>

	<Extension path = "/MonoDevelop/Ide/CodeFormatters">
		<Formatter mimeType="text/xml" class="MonoDevelop.Xml.Formatting.XmlFormatter" />
		<Formatter mimeType="application/xml" class="MonoDevelop.Xml.Formatting.XmlFormatter" />
	</Extension>

	<Extension path = "/MonoDevelop/ProjectModel/PolicySets/Mono" >
		<Policies resource="MonoXmlPolicy.xml" />
	</Extension>

	<Extension path = "/MonoDevelop/ProjectModel/Gui/MimeTypePolicyPanels">
		<Panel id = "XmlFormatting" _label = "XML Format" mimeType="application/xml" class = "MonoDevelop.Xml.Formatting.XmlFormattingPolicyPanel" />
	</Extension>

	<Extension path = "/MonoDevelop/Core/UserDataMigration">
		<!-- 2.4 -->
		<Migration sourceVersion="2.4" kind="UserData" path="schemas" targetPath="XmlSchemas" isDirectory="true" />
		<!-- 2.6+ -->
		<Migration sourceVersion="2.6+" kind="UserData" path="XmlSchemas" isDirectory="true" />
	</Extension>
</Addin>