~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.addin.xml

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
       url         = "http://md-xed.sourceforge.net"
7
7
       description = "XML Editor"
8
8
       category    = "IDE extensions"
9
 
       version     = "2.4">
 
9
       version     = "2.6">
10
10
 
 
 
b'\t<Runtime>'
11
11
                <Import assembly="MonoDevelop.XmlEditor.dll" />
12
12
                <Import file="schemas/appconfig.xsd" />
20
20
        </Runtime>
21
21
 
22
22
        <Dependencies>
23
 
                <Addin id="Core" version="2.4"/>
24
 
                <Addin id="Ide" version="2.4"/>
25
 
                <Addin id="DesignerSupport" version="2.4"/>
26
 
                <Addin id="SourceEditor2" version="2.4"/>
 
23
                <Addin id="Core" version="2.6"/>
 
24
                <Addin id="Ide" version="2.6"/>
 
25
                <Addin id="DesignerSupport" version="2.6"/>
 
26
                <Addin id="SourceEditor2" version="2.6"/>
27
27
        </Dependencies>
28
 
 
29
 
        <!-- Defines the Xml file extension node -->
30
 
        <ExtensionPoint path = "/MonoDevelop/XmlEditor/XmlFileExtensions">
31
 
                <ExtensionNode name = "XmlFileExtension" type = "MonoDevelop.XmlEditor.XmlFileExtensionNode"/>
 
28
        
 
29
        <ExtensionPoint path = "/MonoDevelop/XmlEditor/XmlFileAssociations">
 
30
                <ExtensionNode name = "Association" type = "MonoDevelop.XmlEditor.XmlFileAssociationNode"/>
 
31
        </ExtensionPoint>
 
32
        
 
33
        <ExtensionPoint path = "/MonoDevelop/XmlEditor/XmlSchemas">
 
34
                <ExtensionNode name = "Schema" type = "MonoDevelop.XmlEditor.XmlSchemaNode" />
32
35
        </ExtensionPoint>
33
36
 
34
 
        <!-- File extensions that will be opened in the XML editor -->
35
 
        <Extension path = "/MonoDevelop/XmlEditor/XmlFileExtensions"
36
 
                   extension-nodes = "XmlFileExtension">
37
 
                <XmlFileExtension extension = ".build"/>
38
 
                <XmlFileExtension extension = ".config"/>
39
 
                <XmlFileExtension extension = ".stetic"/> 
40
 
                <XmlFileExtension extension = ".xml"/> 
41
 
                <XmlFileExtension extension = ".xsd"/> 
42
 
                <XmlFileExtension extension = ".xsl"/> 
43
 
                <XmlFileExtension extension = ".xslt"/> 
 
37
        <!-- Additional file extensions that will be opened in the XML editor -->
 
38
        <Extension path = "/MonoDevelop/XmlEditor/XmlFileAssociations">
 
39
                <Association extension = ".build"  namespaceUri="http://nant.sf.net/release/0.85-rc3/nant.xsd" />
 
40
                <Association extension = ".config" namespaceUri="urn:app-config" />
 
41
                <Association extension = ".xsd"    namespaceUri="http://www.w3.org/2001/XMLSchema" namespacePrefix="xs" /> 
 
42
                <Association extension = ".xsl"    namespaceUri="http://www.w3.org/1999/XSL/Transform" namespacePrefix="xsl" /> 
 
43
                <Association extension = ".xslt"   namespaceUri="http://www.w3.org/1999/XSL/Transform" namespacePrefix="xsl" /> 
 
44
                <Association extension = ".stetic" />
 
45
        </Extension>
 
46
        
 
47
        <Extension path = "/MonoDevelop/XmlEditor/XmlSchemas">
 
48
                <Schema file="schemas/appconfig.xsd" />
 
49
                <Schema file="schemas/MonoDevelopAddIn.xsd" />
 
50
                <Schema file="schemas/XMLSchema.xsd" />
 
51
                <Schema file="schemas/xslt.xsd" />
 
52
                <Schema file="schemas/manifest.xsd" />
 
53
                <Schema file="schemas/nant.xsd" />
44
54
        </Extension>
45
55
        
46
56
        <Extension path = "/MonoDevelop/Ide/TextEditorExtensions">
77
87
                        <Command id = "MonoDevelop.XmlEditor.Commands.GoToSchemaDefinition"
78
88
                                        _label = "_Go to Schema Definition"
79
89
                                        description = "Jumps to the schema definition"/>
80
 
                        <Command id = "MonoDevelop.XmlEditor.Commands.Format"
81
 
                                        _label = "_Format"
82
 
                                        description = "Pretty prints the XML"/>
83
90
                </Category>
84
91
        </Extension>
85
92
 
86
93
        <!-- XML menu -->
87
 
        <Extension path = "/MonoDevelop/Ide/MainMenu">
88
 
                <ItemSet id = "XmlMenu" 
89
 
                         insertafter = "Run" 
90
 
                         insertbefore = "Tools" 
91
 
                         _label = "_XML" >
 
94
        <Extension path = "/MonoDevelop/Ide/MainMenu/Tools">
 
95
                <ItemSet id = "XmlMenu" insertafter = "AddinManagerSeparator" _label = "_XML" >
92
96
                        <CommandItem id = "MonoDevelop.XmlEditor.Commands.CreateSchema" />
93
97
                        <CommandItem id = "MonoDevelop.XmlEditor.Commands.GoToSchemaDefinition" />
94
98
                        <CommandItem id = "MonoDevelop.XmlEditor.Commands.Validate" /><!--
98
102
                        <SeparatorItem id = "StylesheetCommandsSeparator"/>-->
99
103
                        <CommandItem id = "MonoDevelop.XmlEditor.Commands.AssignStylesheet"/>
100
104
                        <CommandItem id = "MonoDevelop.XmlEditor.Commands.OpenStylesheet"/>
101
 
                        <CommandItem id = "MonoDevelop.XmlEditor.Commands.RunXslTransform"/>                            
102
 
                        <SeparatorItem id = "FormatSeparator"/>
103
 
                        <CommandItem id = "MonoDevelop.XmlEditor.Commands.Format" />
 
105
                        <CommandItem id = "MonoDevelop.XmlEditor.Commands.RunXslTransform"/>
 
106
                        <SeparatorItem/>
104
107
                </ItemSet>
105
108
        </Extension>
106
109
        
128
131
        </Extension>-->
129
132
        
130
133
        <Extension path = "/MonoDevelop/ProjectModel/DomParser">
131
 
                <Class class = "MonoDevelop.XmlEditor.XmlDocumentParser" id = "XmlParser" />
 
134
                <Parser class = "MonoDevelop.XmlEditor.XmlDocumentParser" id = "XmlParser" />
132
135
        </Extension>
133
136
        
134
 
        <Extension path = "/MonoDevelop/ProjectModel/TextPrettyPrinters">
135
 
                <Class class="MonoDevelop.Xml.Formatting.XmlFormatter" />
136
 
        </Extension>
137
 
        
138
 
        <Extension path = "/MonoDevelop/ProjectModel/PolicyTypes" >
139
 
                <PolicyType class="MonoDevelop.Xml.Formatting.XmlFormattingPolicy" />
 
137
        <Extension path = "/MonoDevelop/Ide/CodeFormatters">
 
138
                <Formatter mimeType="text/xml" class="MonoDevelop.Xml.Formatting.XmlFormatter" />
 
139
                <Formatter mimeType="application/xml" class="MonoDevelop.Xml.Formatting.XmlFormatter" />
140
140
        </Extension>
141
141
        
142
142
        <Extension path = "/MonoDevelop/ProjectModel/PolicySets/Mono" >
146
146
        <Extension path = "/MonoDevelop/ProjectModel/Gui/MimeTypePolicyPanels">
147
147
                <Panel id = "XmlFormatting" _label = "XML Format" mimeType="application/xml" class = "MonoDevelop.Xml.Formatting.XmlFormattingPolicyPanel" />
148
148
        </Extension>
 
149
        
 
150
        <Extension path = "/MonoDevelop/Core/UserDataMigration">
 
151
                <Migration sourceVersion="2.4" kind="Data" isDirectory="true" sourcePath="schemas" targetPath="XmlSchemas" />
 
152
        </Extension>
149
153
</Addin>