blob: cc053a203bf2bcce09157aa4086cc09427194f0c [file] [log] [blame]
david_williams96213482004-11-11 09:07:12 +00001<?xml version="1.0" encoding="UTF-8"?>
amywu19503192008-03-26 05:32:35 +00002<?eclipse version="3.3"?>
jeffliu38477e82005-05-30 00:52:19 +00003<plugin>
david_williams96213482004-11-11 09:07:12 +00004
kchong90f21b62005-12-06 22:20:53 +00005 <extension-point id="catalogFileType" name="%XML_Catalog_File_Type_Extension_Point.name" schema="schema/catalogFileType.exsd"/>
david_williamsc36277b2005-06-13 00:12:21 +00006
david_williams09de8f82005-07-08 18:08:48 +00007 <extension point="org.eclipse.wst.xml.ui.catalogFileType">
csaltera3a2daa2005-06-15 06:53:51 +00008 <fileType
9 extensions="dtd, ent, mod"
david_williamsa08fdd72005-07-21 01:49:46 +000010 description="%_UI_PREF_DTD_FILES"
csalter6878d892005-06-17 18:09:23 +000011 id="org.eclipse.wst.xml.core.ui.catalogFileType.dtd">
csaltera3a2daa2005-06-15 06:53:51 +000012 </fileType>
13 <fileType
14 extensions="xsd"
david_williamsa08fdd72005-07-21 01:49:46 +000015 description="%_UI_PREF_XSD_FILES"
csalter6878d892005-06-17 18:09:23 +000016 id="org.eclipse.wst.xml.core.ui.catalogFileType.xsd">
csaltera3a2daa2005-06-15 06:53:51 +000017 </fileType>
18 <fileType
19 extensions="tld"
david_williamsa08fdd72005-07-21 01:49:46 +000020 description="%_UI_PREF_TAGLIB_DEF_FILES"
csalter6878d892005-06-17 18:09:23 +000021 id="org.eclipse.wst.xml.core.ui.catalogFileType.tld">
csaltera3a2daa2005-06-15 06:53:51 +000022 </fileType>
23 </extension>
nitind720e8b52007-12-18 03:52:33 +000024
nitindf8e77632005-09-07 23:49:25 +000025 <!--The org.eclipse.wst.xml.core.xmlsource content type is only for
26 handling some special cases of ill-formed xml in a reasonable
27 manner, and should not be emulated by clients. The two content
28 types are often used interchangeably by the XML component, but
29 please use org.eclipse.core.runtime.xml instead. -->
30 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
31 <sourceViewerConfiguration
nitind1bf20a12005-09-15 11:48:15 +000032 class="org.eclipse.wst.xml.ui.StructuredTextViewerConfigurationXML"
nitindf8e77632005-09-07 23:49:25 +000033 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" />
34 <contentOutlineConfiguration
nitind1bf20a12005-09-15 11:48:15 +000035 class="org.eclipse.wst.xml.ui.views.contentoutline.XMLContentOutlineConfiguration"
nitindf8e77632005-09-07 23:49:25 +000036 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" />
37 <propertySheetConfiguration
nitind1bf20a12005-09-15 11:48:15 +000038 class="org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration"
nitindf8e77632005-09-07 23:49:25 +000039 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" />
amywu67ef3e32007-11-05 22:20:31 +000040 <documentationTextHover
41 class="org.eclipse.wst.xml.ui.internal.taginfo.XMLTagInfoHoverProcessor"
42 target="org.eclipse.wst.xml.XML_DEFAULT">
43 </documentationTextHover>
44 <doubleClickStrategy
45 class="org.eclipse.wst.xml.ui.internal.doubleclick.XMLDoubleClickStrategy"
46 target="org.eclipse.wst.xml.XML_DEFAULT">
47 </doubleClickStrategy>
nitindf8e77632005-09-07 23:49:25 +000048 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000049 type="sourceeditingtexttools"
50 class="org.eclipse.wst.xml.ui.internal.provisional.XMLSourceEditingTextTools"
nitindf8e77632005-09-07 23:49:25 +000051 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" />
52 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000053 type="characterpairmatcher"
54 class="org.eclipse.wst.xml.ui.internal.text.XMLDocumentRegionEdgeMatcher"
nitindf8e77632005-09-07 23:49:25 +000055 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" />
56 <provisionalConfiguration
nitind1bf20a12005-09-15 11:48:15 +000057 type="structuredtextfoldingprovider"
david_williamsad0e4cc2005-06-04 01:49:19 +000058 class="org.eclipse.wst.xml.ui.internal.projection.StructuredTextFoldingProviderXML"
nitindf8e77632005-09-07 23:49:25 +000059 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" />
nitind1bf20a12005-09-15 11:48:15 +000060 <provisionalConfiguration
amywu83d210c2007-04-16 21:09:35 +000061 type="org.eclipse.jface.text.quickassist.IQuickAssistProcessor"
62 class="org.eclipse.wst.xml.ui.internal.correction.XMLQuickAssistProcessor"
63 target="org.eclipse.wst.xml.XML_DEFAULT" />
amywu67ef3e32007-11-05 22:20:31 +000064 <provisionalConfiguration
65 type="autoeditstrategy"
66 class="org.eclipse.wst.xml.ui.internal.autoedit.StructuredAutoEditStrategyXML"
67 target="org.eclipse.wst.xml.XML_DEFAULT" />
nitindf8e77632005-09-07 23:49:25 +000068 <provisionalDefinition
david_williamsad0e4cc2005-06-04 01:49:19 +000069 type="preferencepages"
nitindde12ce62008-01-31 02:24:31 +000070 value="org.eclipse.wst.xml.ui.preferences.xml.xml, org.eclipse.wst.sse.ui.preferences.xml.source, org.eclipse.wst.sse.ui.preferences.xml.templates, org.eclipse.wst.sse.ui.preferences.xml.colors"
nitindf8e77632005-09-07 23:49:25 +000071 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" />
nitindfa875bd2007-02-15 02:21:44 +000072 <provisionalDefinition
73 type="spellingregions"
nitind7e1cca82007-05-01 23:58:08 +000074 value="XML_COMMENT_TEXT, XML_CONTENT, XML_DEFAULT"
nitindfa875bd2007-02-15 02:21:44 +000075 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" />
amywu81706092008-04-03 06:45:06 +000076 <provisionalDefinition
77 type="activecontexts"
78 value="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.navigation, org.eclipse.wst.xml.cleanup, org.eclipse.wst.xml.comments, org.eclipse.wst.xml.selection, org.eclipse.wst.xml.dependencies, org.eclipse.wst.xml.grammar, org.eclipse.wst.xml.expand, org.eclipse.wst.xml.occurrences"
79 target="org.eclipse.core.runtime.xml" />
david_williamsad0e4cc2005-06-04 01:49:19 +000080 </extension>
amywu81706092008-04-03 06:45:06 +000081
82 <extension point="org.eclipse.ui.contexts">
83 <context
84 name="%scope.structured.text.editor.xml.name"
85 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
86 description="%scope.structured.text.editor.xml.description"
87 id="org.eclipse.core.runtime.xml">
88 </context>
89 <context
90 name="%scope.structured.text.editor.xml.navigation.name"
91 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
92 description="%scope.structured.text.editor.xml.navigation.description"
93 id="org.eclipse.wst.xml.navigation">
94 </context>
95 <context
96 name="%scope.structured.text.editor.xml.cleanup.name"
97 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
98 description="%scope.structured.text.editor.xml.cleanup.description"
99 id="org.eclipse.wst.xml.cleanup">
100 </context>
101 <context
102 name="%scope.structured.text.editor.xml.comments.name"
103 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
104 description="%scope.structured.text.editor.xml.comments.description"
105 id="org.eclipse.wst.xml.comments">
106 </context>
107 <context
108 name="%scope.structured.text.editor.xml.selection.name"
109 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
110 description="%scope.structured.text.editor.xml.selection.description"
111 id="org.eclipse.wst.xml.selection">
112 </context>
113 <context
114 name="%scope.structured.text.editor.xml.dependencies.name"
115 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
116 description="%scope.structured.text.editor.xml.dependencies.description"
117 id="org.eclipse.wst.xml.dependencies">
118 </context>
119 <context
120 name="%scope.structured.text.editor.xml.grammar.name"
121 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
122 description="%scope.structured.text.editor.xml.grammar.description"
123 id="org.eclipse.wst.xml.grammar">
124 </context>
125 <context
126 name="%scope.structured.text.editor.xml.expand.name"
127 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
128 description="%scope.structured.text.editor.xml.expand.description"
129 id="org.eclipse.wst.xml.expand">
130 </context>
131 <context
132 name="%scope.structured.text.editor.xml.occurrences.name"
133 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
134 description="%scope.structured.text.editor.xml.occurrences.description"
135 id="org.eclipse.wst.xml.occurrences">
136 </context>
137 </extension>
138
david_williamsad0e4cc2005-06-04 01:49:19 +0000139 <extension
140 point="org.eclipse.core.filebuffers.annotationModelCreation">
141 <factory
142 contentTypeId="org.eclipse.core.runtime.xml"
143 class="org.eclipse.wst.sse.ui.internal.StructuredResourceMarkerAnnotationModelFactory" />
nitindfd1a0ac2007-09-03 07:06:41 +0000144 <factory
145 contentTypeId="org.eclipse.wst.xml.core.xmlsource"
146 class="org.eclipse.wst.sse.ui.internal.StructuredResourceMarkerAnnotationModelFactory" />
david_williamsad0e4cc2005-06-04 01:49:19 +0000147 </extension>
148 <extension
149 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
150 <adapterFactoryDescription
151 class="org.eclipse.wst.xml.ui.internal.registry.AdapterFactoryProviderForXML">
152 <contentType id="org.eclipse.core.runtime.xml" />
nitindfd1a0ac2007-09-03 07:06:41 +0000153 <contentType id="org.eclipse.wst.xml.core.xmlsource" />
david_williamsad0e4cc2005-06-04 01:49:19 +0000154 </adapterFactoryDescription>
155 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000156 <extension point="org.eclipse.ui.preferencePages">
nitind0babf612008-01-30 23:30:51 +0000157 <!-- The "top-level" XML category -->
158 <page
159 name="%XML.name"
160 class="org.eclipse.wst.xml.ui.internal.preferences.EmptyFilePreferencePage"
161 id="org.eclipse.wst.xml.ui.preferences.xml">
162 </page>
163 <!-- The "lower level" XML Files category/page -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000164 <page
165 name="%XML_Files.name"
nitind0babf612008-01-30 23:30:51 +0000166 category="org.eclipse.wst.xml.ui.preferences.xml"
david_williamsad0e4cc2005-06-04 01:49:19 +0000167 class="org.eclipse.wst.xml.ui.internal.preferences.XMLFilesPreferencePage"
nitind0babf612008-01-30 23:30:51 +0000168 id="org.eclipse.wst.xml.ui.preferences.xml.xml">
amywu73701a02006-12-06 00:16:27 +0000169 <keywordReference id="org.eclipse.wst.xml.ui.files"/>
amywuf62d85a2008-06-05 19:01:52 +0000170 <keywordReference id="org.eclipse.wst.xml.ui.severities"/>
nitinddec17782008-04-02 04:48:00 +0000171 </page>
nitind0babf612008-01-30 23:30:51 +0000172 <!-- XML PREFERENCE PAGES -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000173 <page
174 name="%XML_Source.name"
nitind0babf612008-01-30 23:30:51 +0000175 category="org.eclipse.wst.xml.ui.preferences.xml.xml"
david_williamsad0e4cc2005-06-04 01:49:19 +0000176 class="org.eclipse.wst.xml.ui.internal.preferences.XMLSourcePreferencePage"
177 id="org.eclipse.wst.sse.ui.preferences.xml.source">
amywu73701a02006-12-06 00:16:27 +0000178 <keywordReference id="org.eclipse.wst.xml.ui.source"/>
david_williamsad0e4cc2005-06-04 01:49:19 +0000179 </page>
180 <page
181 name="%XML_Templates.name"
nitindde12ce62008-01-31 02:24:31 +0000182 category="org.eclipse.wst.sse.ui.preferences.xml.source"
david_williamsad0e4cc2005-06-04 01:49:19 +0000183 class="org.eclipse.wst.xml.ui.internal.preferences.XMLTemplatePreferencePage"
184 id="org.eclipse.wst.sse.ui.preferences.xml.templates">
amywu73701a02006-12-06 00:16:27 +0000185 <keywordReference id="org.eclipse.wst.xml.ui.templates"/>
david_williamsad0e4cc2005-06-04 01:49:19 +0000186 </page>
187 <page
nitind83148392007-01-31 00:49:07 +0000188 name="%XML_Syntax_Coloring"
nitindde12ce62008-01-31 02:24:31 +0000189 category="org.eclipse.wst.sse.ui.preferences.xml.source"
nitind83148392007-01-31 00:49:07 +0000190 class="org.eclipse.wst.xml.ui.internal.preferences.XMLSyntaxColoringPage"
david_williamsad0e4cc2005-06-04 01:49:19 +0000191 id="org.eclipse.wst.sse.ui.preferences.xml.colors">
amywu73701a02006-12-06 00:16:27 +0000192 <keywordReference id="org.eclipse.wst.xml.ui.styles"/>
david_williamsad0e4cc2005-06-04 01:49:19 +0000193 </page>
nitind0babf612008-01-30 23:30:51 +0000194 <page
195 name="%_UI_PREF_XML_CATALOG"
196 category="org.eclipse.wst.xml.ui.preferences.xml"
197 class="org.eclipse.wst.xml.ui.internal.catalog.XMLCatalogPreferencePage"
198 id="org.eclipse.wst.xml.core.ui.XMLCatalogPreferencePage">
199 <keywordReference id="org.eclipse.wst.xml.ui.xmlcatalog"/>
200 </page>
nitindf4a9c3f2008-03-27 07:16:38 +0000201 <page
202 name="%XML_Typing"
203 category="org.eclipse.wst.sse.ui.preferences.xml.source"
204 class="org.eclipse.wst.xml.ui.internal.preferences.XMLTypingPreferencePage"
205 id="org.eclipse.wst.sse.ui.preferences.xml.typing">
206 </page>
david_williamsad0e4cc2005-06-04 01:49:19 +0000207 </extension>
amywu73701a02006-12-06 00:16:27 +0000208
209 <!-- Keywords for preference and properties pages -->
210 <extension point="org.eclipse.ui.keywords">
211 <keyword
212 label="%preferenceKeywords.files"
213 id="org.eclipse.wst.xml.ui.files"/>
214 <keyword
215 label="%preferenceKeywords.source"
216 id="org.eclipse.wst.xml.ui.source"/>
217 <keyword
218 label="%preferenceKeywords.templates"
219 id="org.eclipse.wst.xml.ui.templates"/>
220 <keyword
221 label="%preferenceKeywords.styles"
222 id="org.eclipse.wst.xml.ui.styles"/>
223 <keyword
224 label="%preferenceKeywords.xmlcatalog"
225 id="org.eclipse.wst.xml.ui.xmlcatalog"/>
amywuf62d85a2008-06-05 19:01:52 +0000226 <keyword
227 label="%preferenceKeywords.severities"
228 id="org.eclipse.wst.xml.ui.severities"/>
amywu73701a02006-12-06 00:16:27 +0000229 </extension>
230
david_williamsad0e4cc2005-06-04 01:49:19 +0000231 <!-- Editor actionsets -->
232 <extension point="org.eclipse.ui.actionSetPartAssociations">
233 <actionSetPartAssociation
234 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
235 <part id="org.eclipse.core.runtime.xml.source"></part>
236 <part id="org.eclipse.core.runtime.xml.source2"></part>
237 </actionSetPartAssociation>
238 <actionSetPartAssociation
239 targetID="org.eclipse.ui.NavigateActionSet">
240 <part id="org.eclipse.core.runtime.xml.source"></part>
241 <part id="org.eclipse.core.runtime.xml.source2"></part>
242 </actionSetPartAssociation>
243 </extension>
nitindd4f81c02005-02-07 23:11:25 +0000244
david_williamsad0e4cc2005-06-04 01:49:19 +0000245 <!-- Templates -->
246 <extension point="org.eclipse.ui.editors.templates">
247 <contextType
248 name="%All_XML_context_type_Extension_Element.name"
249 class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML"
250 id="xml_all">
251 </contextType>
252 <contextType
253 name="%XML_New_context_type_Extension_Element.name"
254 class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML"
255 id="xml_new">
256 </contextType>
257 <contextType
258 name="%XML_Tag_context_type_Extension_Element.name"
259 class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML"
260 id="xml_tag">
261 </contextType>
262 <contextType
263 name="%XML_Attribute_context_type_Extension_Element.name"
264 class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML"
265 id="xml_attribute">
266 </contextType>
267 <contextType
268 name="%XML_Attribute_value_context_type_Extension_Element.name"
269 class="org.eclipse.wst.xml.ui.internal.templates.TemplateContextTypeXML"
270 id="xml_attribute_value">
271 </contextType>
272 <include
273 file="templates/xmldefault-templates.xml"
david_williams73c174f2005-07-08 20:26:14 +0000274 translations="$nl$/templates/xmldefault-templates.properties">
david_williamsad0e4cc2005-06-04 01:49:19 +0000275 </include>
276 </extension>
csalter703f8832004-11-11 22:33:56 +0000277
david_williamsad0e4cc2005-06-04 01:49:19 +0000278 <extension point="org.eclipse.ui.editors">
279 <editor
280 name="%XML_Editor.name"
david_williamsb5d05632006-02-27 09:24:00 +0000281 icon="$nl$/icons/xmldoc.gif"
david_williamsad0e4cc2005-06-04 01:49:19 +0000282 contributorClass="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorActionBarContributor"
283 class="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart"
284 id="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart">
285 <contentTypeBinding
286 contentTypeId="org.eclipse.core.runtime.xml" />
david_williams09de8f82005-07-08 18:08:48 +0000287 <contentTypeBinding
288 contentTypeId="org.eclipse.wst.xml.core.xmlsource" />
289
david_williamsad0e4cc2005-06-04 01:49:19 +0000290 </editor>
nitind96cebe62004-11-30 20:53:38 +0000291 </extension>
david_williams09de8f82005-07-08 18:08:48 +0000292
david_williamsad0e4cc2005-06-04 01:49:19 +0000293 <!-- Editor actionsets -->
294 <extension point="org.eclipse.ui.actionSetPartAssociations">
295 <actionSetPartAssociation
296 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
297 <part
298 id="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart">
299 </part>
300 </actionSetPartAssociation>
301 <actionSetPartAssociation
302 targetID="org.eclipse.ui.NavigateActionSet">
303 <part
304 id="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart">
305 </part>
306 </actionSetPartAssociation>
nitind410b6c22005-01-25 15:57:22 +0000307 </extension>
308
david_williamsad0e4cc2005-06-04 01:49:19 +0000309
310
311 <!-- ================================================== -->
312 <!-- Contribute a 'New Wizard' for XML files -->
313 <!-- ================================================== -->
314 <extension point="org.eclipse.ui.newWizards">
315 <category
amywuf62d85a2008-06-05 19:01:52 +0000316 name="%_UI_WIZARD_XML_CATEGORY"
david_williamsad0e4cc2005-06-04 01:49:19 +0000317 id="org.eclipse.wst.XMLCategory">
318 </category>
319 <wizard
320 name="%_UI_WIZARD_NEW_XML"
david_williamsb5d05632006-02-27 09:24:00 +0000321 icon="$nl$/icons/XMLFile.gif"
david_williamsad0e4cc2005-06-04 01:49:19 +0000322 category="org.eclipse.wst.XMLCategory"
323 class="org.eclipse.wst.xml.ui.internal.wizards.NewXMLWizard"
324 id="org.eclipse.wst.xml.ui.internal.wizards.NewXMLWizard">
325 <description>%_UI_CREATE_NEW_XML_FILE</description>
326 <selection class="org.eclipse.core.resources.IResource">
327 </selection>
328 </wizard>
329 </extension>
330
331 <!-- =============================================================================== -->
332 <!-- Allow the 'New XML' wizard to be accessed via the 'Generate' menu on a XSD file -->
333 <!-- =============================================================================== -->
amywu19503192008-03-26 05:32:35 +0000334<!--
david_williamsad0e4cc2005-06-04 01:49:19 +0000335 <extension point="org.eclipse.ui.popupMenus">
336 <objectContribution
337 objectClass="org.eclipse.core.resources.IFile"
338 nameFilter="*.xsd"
339 id="org.eclipse.wst.xmlwizard.createXMLFromXSD">
340 <menu
341 label="%genMenuLabel"
342 path="additions"
343 id="generateXMLArtifacts">
344 <separator name="xml" />
345 </menu>
346 <action
347 label="%_UI_ACTION_CREATE_XML"
348 class="org.eclipse.wst.xml.ui.internal.wizards.XMLImportActionDelegate"
349 menubarPath="generateXMLArtifacts/xml"
350 enablesFor="1"
351 id="org.eclipse.wst.xmlwizard.createXMLFromXSDAction">
352 </action>
353 </objectContribution>
354 </extension>
amywu19503192008-03-26 05:32:35 +0000355-->
david_williamsad0e4cc2005-06-04 01:49:19 +0000356
357 <!-- =============================================================================== -->
358 <!-- Allow the 'New XML' wizard to be accessed via the 'Generate' menu on a DTD file -->
359 <!-- =============================================================================== -->
amywu19503192008-03-26 05:32:35 +0000360<!--
david_williamsad0e4cc2005-06-04 01:49:19 +0000361 <extension point="org.eclipse.ui.popupMenus">
362 <objectContribution
363 objectClass="org.eclipse.core.resources.IFile"
364 nameFilter="*.dtd"
365 id="org.eclipse.wst.xmlwizard.createXMLFromDTD">
366 <menu
367 label="%genMenuLabel"
368 path="additions"
369 id="generateXMLArtifacts">
370 <separator name="xml" />
371 </menu>
372 <action
373 label="%_UI_ACTION_CREATE_XML"
374 class="org.eclipse.wst.xml.ui.internal.wizards.XMLImportActionDelegate"
375 menubarPath="generateXMLArtifacts/xml"
376 enablesFor="1"
377 id="org.eclipse.wst.xmlwizard.createXMLFromDTDAction">
378 </action>
379 </objectContribution>
380 </extension>
amywu19503192008-03-26 05:32:35 +0000381-->
david_williamsad0e4cc2005-06-04 01:49:19 +0000382
383 <!-- =============================================================================== -->
384 <!-- Contribute a New->Example... entry for Editing and Validating XML files -->
385 <!-- =============================================================================== -->
386
387 <!-- define the XMLSamples project wizard -->
388 <extension point="org.eclipse.ui.newWizards">
389 <category
390 name="%_UI_WIZARD_NEW_XML"
391 parentCategory="org.eclipse.ui.Examples"
392 id="org.eclipse.wst.xml.examples">
393 </category>
394 <wizard
395 name="%XMLExample.name"
396 class="org.eclipse.wst.xml.ui.internal.wizards.ExampleProjectCreationWizard"
397 category="org.eclipse.ui.Examples/org.eclipse.wst.xml.examples"
398 id="org.eclipse.wst.xml.ui.XMLExampleProjectCreationWizard"
399 project="true"
david_williamsb5d05632006-02-27 09:24:00 +0000400 icon="$nl$/icons/newSampleProject_wiz.gif">
david_williamsad0e4cc2005-06-04 01:49:19 +0000401 <description>
402 %XMLExampleProjectCreationWizard.description
403 </description>
404 </wizard>
405 </extension>
406
407 <!-- configure the XMLSamples project wizard -->
408 <extension
409 point="org.eclipse.wst.common.ui.exampleProjectCreationWizard"
410 id="XMLExampleProjectCreationWizardExtension">
411 <wizard
412 id="org.eclipse.wst.xml.ui.XMLExampleProjectCreationWizard"
amywu01789332006-10-16 19:04:49 +0000413 banner="icons/newSampleProject_wizbanner.png">
david_williamsad0e4cc2005-06-04 01:49:19 +0000414 <projectsetup
415 pagetitle="%XMLExampleProjectCreationWizard.pagetitle"
416 name="%XMLExampleProjectCreationWizard.projectname"
417 label="%XMLExampleProjectCreationWizard.label"
418 pagedescription="%XMLExampleProjectCreationWizard.pagedescription"
419 open="readme.html">
420 <import
421 dest=""
422 src="examples/EditingAndValidatingXML.zip" />
423 </projectsetup>
424 </wizard>
425 </extension>
426
427 <!-- initialize xml ui preferences -->
428 <extension point="org.eclipse.core.runtime.preferences">
429 <initializer
430 class="org.eclipse.wst.xml.ui.internal.preferences.XMLUIPreferenceInitializer" />
431 </extension>
432
433 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
434 <validator
435 scope="total"
436 class="org.eclipse.wst.xml.ui.internal.validation.DelegatingSourceValidatorForXML"
437 id="org.eclipse.wst.xml.ui.internal.validation.DelegatingSourceValidatorForXML">
438 <contentTypeIdentifier id="org.eclipse.core.runtime.xml">
nitind8d9f0502006-06-07 06:21:48 +0000439 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/>
440 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/>
david_williamsad0e4cc2005-06-04 01:49:19 +0000441 </contentTypeIdentifier>
nitindfd1a0ac2007-09-03 07:06:41 +0000442 <contentTypeIdentifier id="org.eclipse.wst.xml.core.xmlsource">
443 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/>
444 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/>
445 </contentTypeIdentifier>
david_williamsad0e4cc2005-06-04 01:49:19 +0000446 </validator>
447 </extension>
paverydfec4172005-11-09 21:42:30 +0000448
449 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
450 <validator
451 scope="partial"
452 class="org.eclipse.wst.xml.ui.internal.validation.MarkupValidator"
nitind8d9f0502006-06-07 06:21:48 +0000453 id="org.eclipse.wst.xml.ui.internal.validation.markupvalidator">
paverydfec4172005-11-09 21:42:30 +0000454 <contentTypeIdentifier id="org.eclipse.core.runtime.xml">
nitind8d9f0502006-06-07 06:21:48 +0000455 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/>
456 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/>
paverydfec4172005-11-09 21:42:30 +0000457 </contentTypeIdentifier>
nitindfd1a0ac2007-09-03 07:06:41 +0000458 <contentTypeIdentifier id="org.eclipse.wst.xml.core.xmlsource">
459 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/>
460 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/>
461 </contentTypeIdentifier>
paverydfec4172005-11-09 21:42:30 +0000462 </validator>
463 </extension>
464
nitinde8c10492008-03-12 22:42:56 +0000465 <extension point="org.eclipse.ui.editors.annotationTypes">
466 <type name="org.eclipse.wst.xml.ui.matching.tag"/>
467 </extension>
468 <extension point="org.eclipse.ui.editors.markerAnnotationSpecification">
469 <specification
nitind29c67af2008-03-26 21:09:35 +0000470 includeOnPreferencePage="true"
nitinde8c10492008-03-12 22:42:56 +0000471 colorPreferenceValue="212,212,212"
472 annotationType="org.eclipse.wst.xml.ui.matching.tag"
473 colorPreferenceKey="matchingTagIndicationColor"
474 presentationLayer="4"
475 label="%MatchingTagPreference.label"
476 icon="icons/full/obj16/tag-generic.gif"
477 textPreferenceValue="false"
478 textPreferenceKey="matchingTagIndication"
479 highlightPreferenceKey="matchingTagHighlight"
480 highlightPreferenceValue="true"
481 verticalRulerPreferenceKey="matchingTagVerticalRuler"
482 verticalRulerPreferenceValue="false"
483 overviewRulerPreferenceKey="matchingTagIndicationInOverviewRuler"
484 overviewRulerPreferenceValue="true"
485 textStylePreferenceKey="matchingTagTextStyle"
486 textStylePreferenceValue="NONE">
487 </specification>
488 </extension>
489
nitindd4f81c02005-02-07 23:11:25 +0000490 <!--======================================================================================-->
491 <!-- Document provider for ExternalFileEditorInput -->
492 <!--======================================================================================-->
david_williamsad0e4cc2005-06-04 01:49:19 +0000493 <extension point="org.eclipse.ui.editors.documentProviders">
494 <provider
495 inputTypes="org.eclipse.wst.xml.ui.internal.hyperlink.ExternalFileEditorInput"
496 class="org.eclipse.ui.editors.text.TextFileDocumentProvider"
497 id="org.eclipse.wst.xml.ui.internal.ExternalFileDocumentProvider">
498 </provider>
499 </extension>
nitindd4f81c02005-02-07 23:11:25 +0000500
amywu19503192008-03-26 05:32:35 +0000501 <!-- To Do: migrate this to the org.eclipse.ui.menus popup: format -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000502 <extension point="org.eclipse.ui.popupMenus">
david_williamsa4dd7662005-04-14 00:33:20 +0000503 <viewerContribution
504 targetID="org.eclipse.core.runtime.xml.source.RulerContext"
david_williamsad0e4cc2005-06-04 01:49:19 +0000505 id="org.eclipse.ui.texteditor.ruler.context.actions">
david_williamsa4dd7662005-04-14 00:33:20 +0000506 <action
507 label="%AddTask.label"
508 helpContextId="org.eclipse.ui.AddTask_action_context"
509 class="org.eclipse.ui.texteditor.TaskRulerAction"
510 tooltip="%AddTask.tooltip"
511 menubarPath="additions"
512 id="org.eclipse.ui.texteditor.TaskRulerAction">
513 </action>
514 <action
515 label="%AddBookmark.label"
516 helpContextId="org.eclipse.ui.bookmark_action_context"
517 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
518 tooltip="%AddBookmark.tooltip"
519 menubarPath="additions"
520 id="org.eclipse.ui.texteditor.BookmarkRulerAction">
521 </action>
522 </viewerContribution>
523 </extension>
david_williams09de8f82005-07-08 18:08:48 +0000524
vbaciuc3b34ee2008-05-14 12:29:48 +0000525 <!--======================================================================================-->
526 <!-- Pop-up menu and associated command/handler for nested validation messages. -->
527 <!--======================================================================================-->
528
529 <extension point="org.eclipse.ui.menus">
530 <menuContribution locationURI="popup:org.eclipse.ui.ide.MarkersView">
531 <command commandId="org.eclipse.wst.xml.ui.referencedFileErrors">
532 <visibleWhen checkEnabled="false">
533 <reference definitionId="org.eclipse.wst.xml.ui.referencedFileErrors" />
534 </visibleWhen>
535 </command>
536 </menuContribution>
lmandel3c550af2005-06-16 05:46:02 +0000537 </extension>
vbaciuc3b34ee2008-05-14 12:29:48 +0000538
539 <extension point="org.eclipse.ui.commands">
540 <command
541 description="%_UI_REF_FILE_SHOW_DETAILS"
542 id="org.eclipse.wst.xml.ui.referencedFileErrors"
543 name="%_UI_REF_FILE_SHOW_DETAILS" />
544 </extension>
545
546 <extension point="org.eclipse.ui.handlers">
547 <handler
548 class="org.eclipse.wst.xml.ui.internal.validation.core.errorinfo.ReferencedFileErrorsHandler"
549 commandId="org.eclipse.wst.xml.ui.referencedFileErrors">
550 <enabledWhen>
551 <reference definitionId="org.eclipse.wst.xml.ui.referencedFileErrors" />
552 </enabledWhen>
553 </handler>
554 </extension>
555
556 <extension point="org.eclipse.core.expressions.propertyTesters">
557 <propertyTester
558 class="org.eclipse.wst.xml.ui.internal.validation.core.errorinfo.GroupNamePropertyTester"
559 id="org.eclipse.wst.xml.ui.markerGroupNamePropertyTester"
560 namespace="org.eclipse.wst.xml.ui"
561 properties="groupNamePrefix"
562 type="org.eclipse.core.resources.IMarker">
563 </propertyTester>
564 </extension>
565
566 <extension point="org.eclipse.core.expressions.definitions">
567 <definition id="org.eclipse.wst.xml.ui.referencedFileErrors">
568 <and>
569 <count value="1" />
570 <with variable="selection">
571 <iterate operator="or">
572 <adapt type="org.eclipse.core.resources.IMarker">
573 <test property="org.eclipse.wst.xml.ui.groupNamePrefix" value="referencedFileError" forcePluginActivation="true" />
574 </adapt>
575 </iterate>
576 </with>
577 </and>
578 </definition>
579 </extension>
david_williams09de8f82005-07-08 18:08:48 +0000580
amywu19503192008-03-26 05:32:35 +0000581<!--
nitind102e60a2005-09-15 12:42:42 +0000582 <extension point="org.eclipse.ui.editorActions">
583 <editorContribution
584 id="org.eclipse.core.runtime.xml.source.editorActions"
585 targetID="org.eclipse.core.runtime.xml.source">
586 <action
587 id="CleanupDocument"
588 label="%CleanupDocument_label"
589 definitionId="org.eclipse.wst.sse.ui.cleanup.document"
590 tooltip="%CleanupDocument_tooltip"
591 class="org.eclipse.wst.xml.ui.internal.actions.CleanupActionXMLDelegate"
592 actionID="CleanupDocument">
593 </action>
594 <action
595 id="ToggleComment"
596 label="%ToggleComment_label"
597 definitionId="org.eclipse.wst.sse.ui.toggle.comment"
598 tooltip="%ToggleComment_tooltip"
599 class="org.eclipse.wst.xml.ui.internal.actions.ToggleCommentActionXMLDelegate"
600 actionID="ToggleComment">
601 </action>
602 <action
603 id="AddBlockComment"
604 label="%AddBlockComment_label"
605 definitionId="org.eclipse.wst.sse.ui.add.block.comment"
606 tooltip="%AddBlockComment_tooltip"
607 class="org.eclipse.wst.xml.ui.internal.actions.AddBlockCommentActionXMLDelegate"
608 actionID="AddBlockComment">
609 </action>
610 <action
611 id="RemoveBlockComment"
612 label="%RemoveBlockComment_label"
613 definitionId="org.eclipse.wst.sse.ui.remove.block.comment"
614 tooltip="%RemoveBlockComment_tooltip"
615 class="org.eclipse.wst.xml.ui.internal.actions.RemoveBlockCommentActionXMLDelegate"
616 actionID="RemoveBlockComment">
617 </action>
618 <action
619 id="FindOccurrences"
620 label="%FindOccurrences_label"
621 definitionId="org.eclipse.wst.sse.ui.search.find.occurrences"
622 class="org.eclipse.wst.xml.ui.internal.search.XMLFindOccurrencesActionDelegate"
623 actionID="FindOccurrences">
624 </action>
625 <action
626 id="StructureSelectEnclosing"
627 label="%StructureSelectEnclosing_label"
628 definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing"
629 tooltip="%StructureSelectEnclosing_tooltip"
630 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectEnclosingXMLActionDelegate"
631 actionID="StructureSelectEnclosing">
632 </action>
633 <action
634 id="StructureSelectNext"
635 label="%StructureSelectNext_label"
636 definitionId="org.eclipse.wst.sse.ui.structure.select.next"
637 tooltip="%StructureSelectNext_tooltip"
638 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectNextXMLActionDelegate"
639 actionID="StructureSelectNext">
640 </action>
641 <action
642 id="StructureSelectPrevious"
643 label="%StructureSelectPrevious_label"
644 definitionId="org.eclipse.wst.sse.ui.structure.select.previous"
645 tooltip="%StructureSelectPrevious_tooltip"
646 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectPreviousXMLActionDelegate"
647 actionID="StructureSelectPrevious">
648 </action>
649 <action
650 id="StructureSelectHistory"
651 label="%StructureSelectHistory_label"
652 definitionId="org.eclipse.wst.sse.ui.structure.select.last"
653 tooltip="%StructureSelectHistory_tooltip"
654 class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate"
655 actionID="StructureSelectHistory">
656 </action>
657 </editorContribution>
nitind6d98c7b2005-10-07 21:17:31 +0000658 <editorContribution
659 targetID="org.eclipse.core.runtime.xml.source"
660 id="org.eclipse.core.runtime.xml.source.ruler.actions">
661 <action
amywu34aa9802005-12-06 23:33:16 +0000662 label="%AddBookmark.label"
nitind6d98c7b2005-10-07 21:17:31 +0000663 helpContextId="org.eclipse.ui.bookmark_action_context"
664 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
665 actionID="RulerDoubleClick"
666 id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
667 <action
amywu34aa9802005-12-06 23:33:16 +0000668 label="%SelectRuler.label"
nitind6d98c7b2005-10-07 21:17:31 +0000669 class="org.eclipse.ui.texteditor.SelectRulerAction"
670 actionID="RulerClick"
671 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
672 </editorContribution>
nitind102e60a2005-09-15 12:42:42 +0000673 </extension>
amywu19503192008-03-26 05:32:35 +0000674-->
675
amywu547e8e12007-03-14 20:16:31 +0000676 <extension
677 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
678 <target
679 id="org.eclipse.core.runtime.xml"
680 name="%XML_Source_target_name">
681 </target>
682 </extension>
683 <extension
684 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
685 <hyperlinkDetector
686 class="org.eclipse.wst.xml.ui.internal.hyperlink.XMLHyperlinkDetector"
687 id="org.eclipse.wst.xml.ui.internal.hyperlink.XMLHyperlinkDetector"
688 name="%XML_hyperlink"
689 targetId="org.eclipse.core.runtime.xml">
690 </hyperlinkDetector>
691 </extension>
nitind720e8b52007-12-18 03:52:33 +0000692 <extension
693 point="org.eclipse.ui.importWizards">
694 <category
695 id="org.eclipse.wst.XMLCategory"
696 name="%_UI_WIZARD_NEW_XML">
697 </category>
698 <wizard
699 category="org.eclipse.wst.XMLCategory"
700 class="org.eclipse.wst.xml.ui.internal.wizards.ImportXMLCatalogWizard"
701 icon="icons/xmldoc.gif"
702 id="org.eclipse.wst.xml.ui.internal.wizards.ImportXMLCatalogWizard"
amywubb78f592008-01-09 22:11:36 +0000703 name="%_UI_WIZARD_IMPORT_EXPORT_XMLCATALOG">
nitind720e8b52007-12-18 03:52:33 +0000704 <description>
705 %_UI_IMPORT_XML_CATALOG_FILE
706 </description>
707 </wizard>
708 </extension>
709 <extension
710 point="org.eclipse.ui.exportWizards">
711 <category
712 id="org.eclipse.wst.XMLCategory"
713 name="%_UI_WIZARD_NEW_XML">
714 </category>
715 <wizard
716 category="org.eclipse.wst.XMLCategory"
717 class="org.eclipse.wst.xml.ui.internal.wizards.ExportXMLCatalogWizard"
718 icon="icons/xmldoc.gif"
719 id="org.eclipse.wst.xml.ui.internal.wizards.ExportXMLCatalogWizard"
amywubb78f592008-01-09 22:11:36 +0000720 name="%_UI_WIZARD_IMPORT_EXPORT_XMLCATALOG">
nitind720e8b52007-12-18 03:52:33 +0000721 <description>
722 %_UI_EXPORT_XML_CATALOG_FILE
723 </description>
724 </wizard>
725 </extension>
nitindfef1e032008-02-26 02:53:34 +0000726
727 <extension point="org.eclipse.ui.commands">
728 <!-- Navigate commands -->
729 <command
730 name="%ActionDefinition.nextSibling.name"
731 description="%ActionDefinition.nextSibling.description"
732 categoryId="org.eclipse.ui.category.edit"
733 id="org.eclipse.wst.xml.ui.nextSibling">
734 </command>
735 <command
736 name="%ActionDefinition.previousSibling.name"
737 description="%ActionDefinition.previousSibling.description"
738 categoryId="org.eclipse.ui.category.edit"
739 id="org.eclipse.wst.xml.ui.previousSibling">
740 </command>
nitind12293662008-02-28 05:14:02 +0000741 <command
742 name="%ActionDefinition.gotoMatchingTag.name"
743 description="%ActionDefinition.gotoMatchingTag.description"
744 categoryId="org.eclipse.ui.category.edit"
745 id="org.eclipse.wst.xml.ui.gotoMatchingTag">
746 </command>
nitindfef1e032008-02-26 02:53:34 +0000747 </extension>
748
749 <extension point="org.eclipse.ui.bindings">
nitindca70b6f2008-03-06 01:01:08 +0000750 <!-- win32: M1=CTRL, M2=SHIFT, M3=ALT, M4=-
751 carbon: M1=COMMAND, M2=SHIFT, M3=ALT, M4=CTRL
752 gtk: ?
753 -->
754 <!-- Navigate commands -->
nitindfef1e032008-02-26 02:53:34 +0000755 <key
756 sequence="M1+M2+ARROW_UP"
757 contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
758 commandId="org.eclipse.wst.xml.ui.previousSibling"
759 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
760 <key
nitindca70b6f2008-03-06 01:01:08 +0000761 platform="carbon"
762 sequence="CTRL+SHIFT+ARROW_UP"
763 contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
764 commandId="org.eclipse.wst.xml.ui.previousSibling"
765 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
766 <key
nitindfef1e032008-02-26 02:53:34 +0000767 sequence="M1+M2+ARROW_DOWN"
768 contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
769 commandId="org.eclipse.wst.xml.ui.nextSibling"
770 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
nitind12293662008-02-28 05:14:02 +0000771 <key
nitindca70b6f2008-03-06 01:01:08 +0000772 platform="carbon"
773 sequence="CTRL+SHIFT+ARROW_DOWN"
774 contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
775 commandId="org.eclipse.wst.xml.ui.nextSibling"
776 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
777 <key
nitindae479a52008-02-28 05:40:29 +0000778 sequence="M1+M2+&gt;"
nitind12293662008-02-28 05:14:02 +0000779 contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
780 commandId="org.eclipse.wst.xml.ui.gotoMatchingTag"
781 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
nitindca70b6f2008-03-06 01:01:08 +0000782 <key
783 platform="carbon"
nitindb73bdcb2008-04-03 01:54:31 +0000784 sequence="CTRL+SHIFT+."
nitindca70b6f2008-03-06 01:01:08 +0000785 contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
786 commandId="org.eclipse.wst.xml.ui.gotoMatchingTag"
787 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
788
nitindfef1e032008-02-26 02:53:34 +0000789 </extension>
amywu19503192008-03-26 05:32:35 +0000790
791<!--
792 This section contains the new org.eclipse.ui.menus extions points and command handler
793 definitions.
794 -->
795
796 <extension point="org.eclipse.ui.menus">
amywud0a69a02008-03-27 02:58:48 +0000797 <!-- Unable to contribute to Search menu at the moment due to bug 213385 -->
798<!--
799 <menuContribution locationURI="menu:org.eclipse.search.menu">
800-->
amywud0a69a02008-03-27 02:58:48 +0000801 <menuContribution locationURI="menu:goTo?after=matchingEnd">
802<!--
803 <command commandId="org.eclipse.wst.xml.ui.gotoMatchingTag" id="GoToMatchingTag" label="%GoToMatchingTag_label" style="push">
804 <visibleWhen checkEnabled="false">
805 <reference definitionId="org.eclipse.wst.sse.ui.sseActiveContext.definition"></reference>
806 </visibleWhen>
807 </command>
808-->
809 <separator name="goToSiblingsBegin" visible="true"></separator>
810 <command commandId="org.eclipse.wst.xml.ui.nextSibling" id="GoToNextSibling" label="%ActionDefinition.nextSibling.name" style="push">
811 <visibleWhen checkEnabled="false">
amywu81706092008-04-03 06:45:06 +0000812 <reference definitionId="org.eclipse.wst.xml.ui.navigation"></reference>
amywud0a69a02008-03-27 02:58:48 +0000813 </visibleWhen>
814 </command>
815 <command commandId="org.eclipse.wst.xml.ui.previousSibling" id="GoToPreviousSibling" label="%ActionDefinition.previousSibling.name" style="push">
816 <visibleWhen checkEnabled="false">
amywu81706092008-04-03 06:45:06 +0000817 <reference definitionId="org.eclipse.wst.xml.ui.navigation"></reference>
amywud0a69a02008-03-27 02:58:48 +0000818 </visibleWhen>
819 </command>
820 <separator name="goToSiblingsEnd" visible="false"></separator>
821 </menuContribution>
amywu19503192008-03-26 05:32:35 +0000822 <menuContribution
823 locationURI="menu:org.eclipse.ui.main.menu?before=window">
824 <menu
825 id="org.eclipse.wst.xml.ui.designMenuId"
826 label="%DesignMenu_name">
827 <separator
828 name="designStart">
829 </separator>
830 <command
831 commandId="org.eclipse.wst.xml.ui.disable.grammar.constraints"
832 icon="icons/full/etool16/constrainon.gif"
833 id="ToggleGrammarConstraints"
amywu81706092008-04-03 06:45:06 +0000834 mnemonic="%Constraints_mnemonic"
amywu19503192008-03-26 05:32:35 +0000835 style="push">
836 <visibleWhen checkEnabled="false">
amywu81706092008-04-03 06:45:06 +0000837 <and>
838 <reference definitionId="org.eclipse.wst.xml.ui.grammar"/>
amywu19503192008-03-26 05:32:35 +0000839 <not>
840 <reference definitionId="org.eclipse.wst.sse.ui.sseActiveContext.definition"/>
841 </not>
842 </and>
843 </visibleWhen>
844 </command>
845 <command
846 commandId="org.eclipse.wst.xml.ui.reload.dependecies"
847 icon="icons/full/etool16/rldgrmr.gif"
848 id="ReloadDependencies"
amywu81706092008-04-03 06:45:06 +0000849 mnemonic="%ReloadDependencies_mnemonic"
amywu19503192008-03-26 05:32:35 +0000850 style="push">
851 <visibleWhen checkEnabled="false">
amywu81706092008-04-03 06:45:06 +0000852 <and>
853 <reference definitionId="org.eclipse.wst.xml.ui.dependencies"/>
amywu19503192008-03-26 05:32:35 +0000854 <not>
855 <reference definitionId="org.eclipse.wst.sse.ui.sseActiveContext.definition"/>
856 </not>
857 </and>
858 </visibleWhen>
859 </command>
860 <separator
861 name="expand"
862 visible="true">
863 </separator>
864
865 <command
866 commandId="sed.tabletree.expandAll"
867 icon="icons/full/etool16/expand_all.gif"
868 id="ExpandAll"
869 style="push">
870 <visibleWhen checkEnabled="false">
871 <and>
amywu81706092008-04-03 06:45:06 +0000872 <reference definitionId="org.eclipse.wst.xml.ui.expand"/>
amywu19503192008-03-26 05:32:35 +0000873 <not>
874 <reference definitionId="org.eclipse.wst.sse.ui.sseActiveContext.definition"/>
875 </not>
876 </and>
877 </visibleWhen>
878 </command>
879 <command
880 commandId="sed.tabletree.collapseAll"
881 icon="icons/full/etool16/collapse_all.gif"
882 id="CollapseAll"
883 style="push">
884 <visibleWhen checkEnabled="false">
885 <and>
amywu81706092008-04-03 06:45:06 +0000886 <reference definitionId="org.eclipse.wst.xml.ui.expand"/>
amywu19503192008-03-26 05:32:35 +0000887 <not>
888 <reference definitionId="org.eclipse.wst.sse.ui.sseActiveContext.definition"/>
889 </not>
890 </and>
891 </visibleWhen>
892 </command>
893
894 <separator
895 name="additions"
896 visible="true">
897 </separator>
898 <separator
899 name="designEnd"
900 visible="false">
901 </separator>
902 </menu>
903 </menuContribution>
nitind5c771fb2008-04-24 04:58:32 +0000904 <menuContribution locationURI="menu:edit?after=additions">
905 <command commandId="org.eclipse.ui.edit.text.contentAssist.proposals" id="XMLContentAssist" style="push">
906 <visibleWhen checkEnabled="false">
907 <reference definitionId="org.eclipse.wst.xml.ui.xmlSourceContributions.definition"></reference>
908 </visibleWhen>
909 </command>
910 </menuContribution>
amywu19503192008-03-26 05:32:35 +0000911 <menuContribution
912 locationURI="popup:org.eclipse.ui.popup.any?after=additions">
913 <menu
914 id="generateMenuId"
915 label="%genMenuLabel">
916 <command
917 commandId="org.eclipse.wst.sse.ui.generate.xml"
918 id="GenerateXML"
919 style="push">
920 <visibleWhen checkEnabled="false">
921 <or>
amywu8812d752008-04-21 17:41:37 +0000922 <iterate ifEmpty="false">
amywu19503192008-03-26 05:32:35 +0000923 <adapt
924 type="org.eclipse.core.resources.IFile">
925 <test
nitind24dfab32008-05-22 16:40:03 +0000926 property="org.eclipse.wst.sse.core.resources.contentTypeId"
amywu19503192008-03-26 05:32:35 +0000927 value="org.eclipse.wst.xsd.core.xsdsource">
928 </test>
929 </adapt>
930 </iterate>
amywu8812d752008-04-21 17:41:37 +0000931 <iterate ifEmpty="false">
amywu19503192008-03-26 05:32:35 +0000932 <adapt
933 type="org.eclipse.core.resources.IFile">
934 <test
nitind24dfab32008-05-22 16:40:03 +0000935 property="org.eclipse.wst.sse.core.resources.contentTypeId"
amywu19503192008-03-26 05:32:35 +0000936 value="org.eclipse.wst.dtd.core.dtdsource">
937 </test>
938 </adapt>
939 </iterate>
940 </or>
941 </visibleWhen>
942 </command>
943 </menu>
944 </menuContribution>
945
946 <menuContribution
947 locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
948 <toolbar
949 id="org.eclipse.wst.xml.ui.design.DesignToolBar">
950 <separator
951 name="sed.tabletree.separator.1"
952 visible="true">
953 </separator>
954 <command
955 commandId="org.eclipse.wst.xml.ui.disable.grammar.constraints"
956 icon="icons/full/etool16/constrainon.gif"
957 id="ToggleGrammarConstraints"
958 style="push"
959 tooltip="%Constraints_name">
960 <visibleWhen
961 checkEnabled="false">
962 <reference
amywu81706092008-04-03 06:45:06 +0000963 definitionId="org.eclipse.wst.xml.ui.grammar">
amywu19503192008-03-26 05:32:35 +0000964 </reference>
965 </visibleWhen>
966 </command>
967 <command
968 commandId="org.eclipse.wst.xml.ui.reload.dependecies"
969 icon="icons/full/etool16/rldgrmr.gif"
970 id="ReloadDependencies"
971 style="push">
972 <visibleWhen
973 checkEnabled="false">
974 <reference
amywu81706092008-04-03 06:45:06 +0000975 definitionId="org.eclipse.wst.xml.ui.dependencies">
amywu19503192008-03-26 05:32:35 +0000976 </reference>
977 </visibleWhen>
978 </command>
979 <separator
980 name="sed.tabletree.separator.2"
981 visible="true">
982 </separator>
983 <command
984 commandId="sed.tabletree.expandAll"
985 icon="icons/full/etool16/expand_all.gif"
986 id="ExpandAll"
987 style="push">
988 <visibleWhen
989 checkEnabled="false">
990 <reference
amywu81706092008-04-03 06:45:06 +0000991 definitionId="org.eclipse.wst.xml.ui.expand">
amywu19503192008-03-26 05:32:35 +0000992 </reference>
993 </visibleWhen>
994 </command>
995 <command
996 commandId="sed.tabletree.collapseAll"
997 icon="icons/full/etool16/collapse_all.gif"
998 id="CollapseAll"
999 style="push">
amywu81706092008-04-03 06:45:06 +00001000 <visibleWhen
amywu19503192008-03-26 05:32:35 +00001001 checkEnabled="false">
1002 <reference
amywu81706092008-04-03 06:45:06 +00001003 definitionId="org.eclipse.wst.xml.ui.expand">
amywu19503192008-03-26 05:32:35 +00001004 </reference>
1005 </visibleWhen>
1006 </command>
1007 </toolbar>
1008 </menuContribution>
1009 </extension>
1010
1011 <extension point="org.eclipse.core.expressions.definitions">
1012 <definition id="org.eclipse.wst.xml.ui.xmlSourceContributions.definition">
amywu81706092008-04-03 06:45:06 +00001013 <with variable="activeContexts">
1014 <iterate operator="or">
1015 <equals value="org.eclipse.core.runtime.xml"/>
1016 </iterate>
1017 </with>
1018 </definition>
1019 </extension>
1020
1021 <extension point="org.eclipse.core.expressions.definitions">
1022 <definition id="org.eclipse.wst.xml.ui.core">
1023 <with variable="activeContexts">
1024 <iterate operator="or">
1025 <equals value="org.eclipse.core.runtime.xml"/>
1026 </iterate>
1027 </with>
1028 </definition>
1029 </extension>
1030
1031 <extension point="org.eclipse.core.expressions.definitions">
1032 <definition id="org.eclipse.wst.xml.ui.occurrences">
1033 <with variable="activeContexts">
1034 <iterate operator="or">
1035 <equals value="org.eclipse.wst.xml.occurrences"/>
1036 </iterate>
1037 </with>
1038 </definition>
1039 </extension>
1040
1041 <extension point="org.eclipse.core.expressions.definitions">
1042 <definition id="org.eclipse.wst.xml.ui.comments">
1043 <with variable="activeContexts">
1044 <iterate operator="or">
1045 <equals value="org.eclipse.wst.xml.comments"/>
1046 </iterate>
1047 </with>
1048 </definition>
1049 </extension>
1050
1051 <extension point="org.eclipse.core.expressions.definitions">
1052 <definition id="org.eclipse.wst.xml.ui.cleanup">
1053 <with variable="activeContexts">
1054 <iterate operator="or">
1055 <equals value="org.eclipse.wst.xml.cleanup"/>
1056 </iterate>
1057 </with>
1058 </definition>
1059 </extension>
1060
1061 <extension point="org.eclipse.core.expressions.definitions">
1062 <definition id="org.eclipse.wst.xml.ui.navigation">
1063 <with variable="activeContexts">
1064 <iterate operator="or">
1065 <equals value="org.eclipse.wst.xml.navigation"/>
1066 </iterate>
1067 </with>
1068 </definition>
1069 </extension>
1070
1071 <extension point="org.eclipse.core.expressions.definitions">
1072 <definition id="org.eclipse.wst.xml.ui.selection">
1073 <with variable="activeContexts">
1074 <iterate operator="or">
1075 <equals value="org.eclipse.wst.xml.selection"/>
1076 </iterate>
1077 </with>
1078 </definition>
1079 </extension>
1080
1081 <extension point="org.eclipse.core.expressions.definitions">
1082 <definition id="org.eclipse.wst.xml.ui.dependencies">
amywud0a69a02008-03-27 02:58:48 +00001083 <or>
1084 <with variable="activeEditorId">
1085 <equals value="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart"></equals>
1086 </with>
amywu81706092008-04-03 06:45:06 +00001087 <with variable="activeContexts">
1088 <iterate operator="or">
1089 <equals value="org.eclipse.wst.xml.dependencies"/>
1090 </iterate>
1091 </with>
amywud0a69a02008-03-27 02:58:48 +00001092 </or>
amywu19503192008-03-26 05:32:35 +00001093 </definition>
1094 </extension>
amywu81706092008-04-03 06:45:06 +00001095
1096 <extension point="org.eclipse.core.expressions.definitions">
1097 <definition id="org.eclipse.wst.xml.ui.grammar">
1098 <or>
1099 <with variable="activeEditorId">
1100 <equals value="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart"></equals>
1101 </with>
1102 <with variable="activeContexts">
1103 <iterate operator="or">
1104 <equals value="org.eclipse.wst.xml.grammar"/>
1105 </iterate>
1106 </with>
1107 </or>
1108 </definition>
1109 </extension>
1110
1111 <extension point="org.eclipse.core.expressions.definitions">
1112 <definition id="org.eclipse.wst.xml.ui.expand">
1113 <or>
1114 <with variable="activeEditorId">
1115 <equals value="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart"></equals>
1116 </with>
1117 <with variable="activeContexts">
1118 <iterate operator="or">
1119 <equals value="org.eclipse.wst.xml.expand"/>
1120 </iterate>
1121 </with>
1122 </or>
1123 </definition>
1124 </extension>
1125
amywu19503192008-03-26 05:32:35 +00001126 <extension
1127 point="org.eclipse.ui.handlers">
1128 <handler
1129 class="org.eclipse.wst.xml.ui.internal.handlers.CleanupdocumentHandler"
1130 commandId="org.eclipse.wst.sse.ui.cleanup.document">
1131 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001132 <reference definitionId="org.eclipse.wst.xml.ui.cleanup"/>
amywu19503192008-03-26 05:32:35 +00001133 </activeWhen>
1134 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001135 <reference definitionId="org.eclipse.wst.xml.ui.cleanup"/>
amywu19503192008-03-26 05:32:35 +00001136 </enabledWhen>
1137 </handler>
1138 <handler
1139 class="org.eclipse.wst.xml.ui.internal.handlers.ToggleCommentHandler"
1140 commandId="org.eclipse.wst.sse.ui.toggle.comment">
1141 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001142 <reference definitionId="org.eclipse.wst.xml.ui.comments"/>
amywu19503192008-03-26 05:32:35 +00001143 </activeWhen>
1144 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001145 <reference definitionId="org.eclipse.wst.xml.ui.comments"/>
amywu19503192008-03-26 05:32:35 +00001146 </enabledWhen>
1147 </handler>
1148 <handler
1149 class="org.eclipse.wst.xml.ui.internal.handlers.AddBlockCommentHandler"
1150 commandId="org.eclipse.wst.sse.ui.add.block.comment">
1151 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001152 <reference definitionId="org.eclipse.wst.xml.ui.comments"/>
amywu19503192008-03-26 05:32:35 +00001153 </activeWhen>
1154 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001155 <reference definitionId="org.eclipse.wst.xml.ui.comments"/>
amywu19503192008-03-26 05:32:35 +00001156 </enabledWhen>
1157 </handler>
1158 <handler
1159 class="org.eclipse.wst.xml.ui.internal.handlers.RemoveBlockCommentHandler"
1160 commandId="org.eclipse.wst.sse.ui.remove.block.comment">
1161 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001162 <reference definitionId="org.eclipse.wst.xml.ui.comments"/>
amywu19503192008-03-26 05:32:35 +00001163 </activeWhen>
1164 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001165 <reference definitionId="org.eclipse.wst.xml.ui.comments"/>
amywu19503192008-03-26 05:32:35 +00001166 </enabledWhen>
1167 </handler>
1168 <handler
amywud0a69a02008-03-27 02:58:48 +00001169 class="org.eclipse.wst.xml.ui.internal.handlers.StructuredSelectEnclosingXMLHandler"
1170 commandId="org.eclipse.wst.sse.ui.structure.select.enclosing">
1171 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001172 <reference definitionId="org.eclipse.wst.xml.ui.selection"/>
amywud0a69a02008-03-27 02:58:48 +00001173 </activeWhen>
1174 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001175 <reference definitionId="org.eclipse.wst.xml.ui.selection"/>
amywud0a69a02008-03-27 02:58:48 +00001176 </enabledWhen>
1177 </handler>
1178 <handler
1179 class="org.eclipse.wst.xml.ui.internal.handlers.StructuredSelectNextXMLHandler"
1180 commandId="org.eclipse.wst.sse.ui.structure.select.next">
1181 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001182 <reference definitionId="org.eclipse.wst.xml.ui.selection"/>
amywud0a69a02008-03-27 02:58:48 +00001183 </activeWhen>
1184 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001185 <reference definitionId="org.eclipse.wst.xml.ui.selection"/>
amywud0a69a02008-03-27 02:58:48 +00001186 </enabledWhen>
1187 </handler>
1188 <handler
1189 class="org.eclipse.wst.xml.ui.internal.handlers.StructuredSelectPreviousXMLHandler"
1190 commandId="org.eclipse.wst.sse.ui.structure.select.previous">
1191 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001192 <reference definitionId="org.eclipse.wst.xml.ui.selection"/>
amywud0a69a02008-03-27 02:58:48 +00001193 </activeWhen>
1194 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001195 <reference definitionId="org.eclipse.wst.xml.ui.selection"/>
amywud0a69a02008-03-27 02:58:48 +00001196 </enabledWhen>
1197 </handler>
1198 <handler
1199 class="org.eclipse.wst.sse.ui.internal.handlers.StructuredSelectHistoryHandler"
1200 commandId="org.eclipse.wst.sse.ui.structure.select.last">
1201 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001202 <reference definitionId="org.eclipse.wst.xml.ui.selection"/>
amywud0a69a02008-03-27 02:58:48 +00001203 </activeWhen>
1204 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001205 <reference definitionId="org.eclipse.wst.xml.ui.selection"/>
amywud0a69a02008-03-27 02:58:48 +00001206 </enabledWhen>
1207 </handler>
1208 <handler
amywu19503192008-03-26 05:32:35 +00001209 class="org.eclipse.wst.xml.ui.internal.handlers.XMLFindOccurencesHandler"
1210 commandId="org.eclipse.wst.sse.ui.search.find.occurrences">
1211 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001212 <reference definitionId="org.eclipse.wst.xml.ui.occurrences"/>
amywu19503192008-03-26 05:32:35 +00001213 </activeWhen>
1214 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001215 <reference definitionId="org.eclipse.wst.xml.ui.occurrences"/>
amywu19503192008-03-26 05:32:35 +00001216 </enabledWhen>
1217 </handler>
amywud0a69a02008-03-27 02:58:48 +00001218<!--
1219 <handler
1220 class="org.eclipse.wst.xml.ui.internal.handlers.GoToMatchingTagHandler"
1221 commandId="org.eclipse.wst.xml.ui.gotoMatchingTag">
1222 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001223 <reference definitionId="org.eclipse.wst.xml.ui.navigation"/>
amywud0a69a02008-03-27 02:58:48 +00001224 </activeWhen>
1225 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001226 <reference definitionId="org.eclipse.wst.xml.ui.navigation"/>
amywud0a69a02008-03-27 02:58:48 +00001227 </enabledWhen>
1228 </handler>
1229-->
1230 <handler
1231 class="org.eclipse.wst.xml.ui.internal.handlers.NextSiblingNavigationHandler"
1232 commandId="org.eclipse.wst.xml.ui.nextSibling">
1233 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001234 <reference definitionId="org.eclipse.wst.xml.ui.navigation"/>
amywud0a69a02008-03-27 02:58:48 +00001235 </activeWhen>
1236 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001237 <reference definitionId="org.eclipse.wst.xml.ui.navigation"/>
amywud0a69a02008-03-27 02:58:48 +00001238 </enabledWhen>
1239 </handler>
1240 <handler
1241 class="org.eclipse.wst.xml.ui.internal.handlers.PreviousSiblingNavigationHandler"
1242 commandId="org.eclipse.wst.xml.ui.previousSibling">
1243 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001244 <reference definitionId="org.eclipse.wst.xml.ui.navigation"/>
amywud0a69a02008-03-27 02:58:48 +00001245 </activeWhen>
1246 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001247 <reference definitionId="org.eclipse.wst.xml.ui.navigation"/>
amywud0a69a02008-03-27 02:58:48 +00001248 </enabledWhen>
1249 </handler>
amywu19503192008-03-26 05:32:35 +00001250 <handler
1251 class="org.eclipse.wst.xml.ui.internal.handlers.ReloadDependenciesHandler"
1252 commandId="org.eclipse.wst.xml.ui.reload.dependecies">
1253 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001254 <reference definitionId="org.eclipse.wst.xml.ui.dependencies"/>
amywu19503192008-03-26 05:32:35 +00001255 </activeWhen>
1256 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001257 <reference definitionId="org.eclipse.wst.xml.ui.dependencies"/>
amywu19503192008-03-26 05:32:35 +00001258 </enabledWhen>
1259 </handler>
1260 <handler
1261 class="org.eclipse.wst.xml.ui.internal.handlers.ToggleEditModeHandler"
1262 commandId="org.eclipse.wst.xml.ui.disable.grammar.constraints">
1263 <activeWhen>
amywu81706092008-04-03 06:45:06 +00001264 <reference definitionId="org.eclipse.wst.xml.ui.grammar"/>
amywu19503192008-03-26 05:32:35 +00001265 </activeWhen>
1266 <enabledWhen>
amywu81706092008-04-03 06:45:06 +00001267 <reference definitionId="org.eclipse.wst.xml.ui.grammar"/>
amywu19503192008-03-26 05:32:35 +00001268 </enabledWhen>
1269 </handler>
1270 <handler
1271 class="org.eclipse.wst.xml.ui.internal.wizards.NewXMLHandler"
1272 commandId="org.eclipse.wst.sse.ui.generate.xml">
1273 </handler>
1274 <handler
1275 class="org.eclipse.wst.xml.ui.internal.handlers.ExpandAllHandler"
1276 commandId="sed.tabletree.expandAll">
1277 <activeWhen>
1278 <not>
1279 <with variable="activeContexts">
1280 <iterate operator="or">
1281 <equals value="org.eclipse.wst.sse.ui.structuredTextEditorScope"/>
1282 </iterate>
1283 </with>
1284 </not>
1285 </activeWhen>
1286 </handler>
1287 <handler
1288 class="org.eclipse.wst.xml.ui.internal.handlers.CollapseAllHandler"
1289 commandId="sed.tabletree.collapseAll">
1290 <activeWhen>
1291 <not>
1292 <with variable="activeContexts">
1293 <iterate operator="or">
1294 <equals value="org.eclipse.wst.sse.ui.structuredTextEditorScope"/>
1295 </iterate>
1296 </with>
1297 </not>
1298 </activeWhen>
1299 </handler>
1300 </extension>
1301
1302 <extension
1303 point="org.eclipse.ui.commands">
1304 <command
1305 id="org.eclipse.wst.sse.ui.generate.xml"
1306 name="%_UI_ACTION_CREATE_XML">
1307 </command>
1308 <command
1309 description="%ReloadDependencies_description"
1310 id="org.eclipse.wst.xml.ui.reload.dependecies"
1311 name="%ReloadDependencies_name">
1312 </command>
1313 <command
1314 description="%Constraints_description"
1315 id="org.eclipse.wst.xml.ui.disable.grammar.constraints"
1316 name="%Constraints_name">
1317 </command>
1318 <command
1319 id="sed.tabletree.expandAll"
1320 name="%ExpandAll_name">
1321 </command>
1322 <command
1323 id="sed.tabletree.collapseAll"
1324 name="%CollapseAll_name">
1325 </command>
1326 </extension>
nitind52fe70b2008-05-15 21:52:16 +00001327
1328 <!-- Define theme -->
1329 <extension
1330 point="org.eclipse.ui.themes">
1331 <theme
1332 id="org.eclipse.ui.ide.systemDefault">
1333 <colorOverride
1334 id="tagAttributeName"
1335 value="COLOR_LIST_FOREGROUND">
1336 </colorOverride>
1337 <colorOverride
1338 id="tagAttributeValue"
1339 value="COLOR_LIST_FOREGROUND">
1340 </colorOverride>
1341 <colorOverride
1342 id="commentBorder"
1343 value="COLOR_LIST_SELECTION">
1344 </colorOverride>
1345 <colorOverride
1346 id="commentText"
1347 value="COLOR_LIST_SELECTION">
1348 </colorOverride>
1349 <colorOverride
1350 id="declBoder"
1351 value="COLOR_LIST_FOREGROUND">
1352 </colorOverride>
1353 <colorOverride
1354 id="doctypeName"
1355 value="COLOR_LIST_FOREGROUND">
1356 </colorOverride>
1357 <colorOverride
1358 id="doctypeExternalPubref"
1359 value="COLOR_LIST_FOREGROUND">
1360 </colorOverride>
1361 <colorOverride
1362 id="doctypeExternalId"
1363 value="COLOR_WIDGET_NORMAL_SHADOW">
1364 </colorOverride>
1365 <colorOverride
1366 id="doctypeExtrenalSysref"
1367 value="COLOR_LIST_FOREGROUND">
1368 </colorOverride>
1369 <colorOverride
1370 id="tagBorder"
1371 value="COLOR_LIST_FOREGROUND">
1372 </colorOverride>
1373 <colorOverride
1374 id="tagName"
1375 value="COLOR_LIST_FOREGROUND">
1376 </colorOverride>
1377 <colorOverride
1378 id="piBorder"
1379 value="COLOR_LIST_FOREGROUND">
1380 </colorOverride>
1381 <colorOverride
1382 id="cdataBorder"
1383 value="COLOR_LIST_FOREGROUND">
1384 </colorOverride>
1385 <colorOverride
1386 id="cdataText"
1387 value="COLOR_LIST_FOREGROUND">
1388 </colorOverride>
1389 <colorOverride
1390 id="entityReference"
1391 value="COLOR_LIST_FOREGROUND">
1392 </colorOverride>
1393 </theme>
1394 <colorDefinition
1395 id="tagAttributeName"
1396 isEditable="false"
1397 label="%Colors.tagAttributeName"
1398 value="127, 0, 127">
1399 </colorDefinition>
1400 <colorDefinition
1401 id="tagAttributeValue"
1402 isEditable="false"
1403 label="%Colors.tagAttributeValue"
1404 value="42, 0, 255">
1405 </colorDefinition>
1406 <colorDefinition
1407 id="commentBorder"
1408 isEditable="false"
1409 label="%Colors.commentBorder"
1410 value="63, 95, 191">
1411 </colorDefinition>
1412 <colorDefinition
1413 id="commentText"
1414 isEditable="false"
1415 label="%Colors.commentText"
1416 value="63, 95, 191">
1417 </colorDefinition>
1418 <colorDefinition
1419 id="declBoder"
1420 isEditable="false"
1421 label="%Colors.declBorder"
1422 value="0, 128, 128">
1423 </colorDefinition>
1424 <colorDefinition
1425 id="doctypeName"
1426 isEditable="false"
1427 label="%Colors.doctypeName"
1428 value="0, 128, 128">
1429 </colorDefinition>
1430 <colorDefinition
1431 id="doctypeExternalPubref"
1432 isEditable="false"
1433 label="%Colors.doctypeExternalPubref"
1434 value="0, 128, 128">
1435 </colorDefinition>
1436 <colorDefinition
1437 id="doctypeExternalId"
1438 isEditable="false"
1439 label="%Colors.doctypeExternalId"
1440 value="128, 128, 128">
1441 </colorDefinition>
1442 <colorDefinition
1443 id="doctypeExtrenalSysref"
1444 isEditable="false"
1445 label="%Colors.doctypeExtrenalSysref"
1446 value="63, 127, 95">
1447 </colorDefinition>
1448 <colorDefinition
1449 id="tagBorder"
1450 isEditable="false"
1451 label="%Colors.tagBorder"
1452 value="0, 128, 128">
1453 </colorDefinition>
1454 <colorDefinition
1455 id="tagName"
1456 isEditable="false"
1457 label="%Colors.tagName"
1458 value="63, 127, 127">
1459 </colorDefinition>
1460 <colorDefinition
1461 id="piBorder"
1462 isEditable="false"
1463 label="%Colors.piBorder"
1464 value="0, 128, 128">
1465 </colorDefinition>
1466 <colorDefinition
1467 id="cdataBorder"
1468 isEditable="false"
1469 label="%Colors.cdataBorder"
1470 value="0, 128, 128">
1471 </colorDefinition>
1472 <colorDefinition
1473 id="cdataText"
1474 isEditable="false"
1475 label="%Colors.cdataText"
1476 value="0, 0, 0">
1477 </colorDefinition>
1478 <colorDefinition
1479 id="entityReference"
1480 isEditable="false"
1481 label="%Colors.entityReference"
1482 value="42, 0, 255">
1483 </colorDefinition>
1484 </extension>
amywu19503192008-03-26 05:32:35 +00001485
amywua46ee322008-04-24 02:05:28 +00001486 <!-- Enable the FormatHandler for XML Content Type -->
1487 <extension point="org.eclipse.ui.handlers">
1488 <handler
1489 class="org.eclipse.wst.sse.ui.internal.handlers.FormatHandler"
1490 commandId="org.eclipse.wst.sse.ui.format">
1491 <activeWhen>
1492 <reference definitionId="org.eclipse.wst.xml.ui.xmlContentType.definition"></reference>
1493 </activeWhen>
1494 <enabledWhen>
1495 <reference definitionId="org.eclipse.wst.xml.ui.xmlContentType.definition"></reference>
1496 </enabledWhen>
1497 </handler>
1498 </extension>
1499
1500 <!-- Set up a definition for XML Content Types -->
1501 <extension point="org.eclipse.core.expressions.definitions">
1502 <definition id="org.eclipse.wst.xml.ui.xmlContentType.definition">
1503 <or>
1504 <iterate ifEmpty="false">
1505 <adapt type="org.eclipse.core.resources.IFile">
1506 <test property="org.eclipse.wst.sse.core.resources.contentTypeId"
1507 value="org.eclipse.wst.xml.core.xmlsource"/>
1508 </adapt>
1509 </iterate>
1510 <iterate ifEmpty="false">
1511 <adapt type="org.eclipse.core.resources.IFile">
1512 <test property="org.eclipse.wst.sse.core.resources.contentTypeId"
1513 value="org.eclipse.core.runtime.xml"/>
1514 </adapt>
1515 </iterate>
1516 </or>
1517 </definition>
1518 </extension>
amywu41e7a7b2007-10-30 22:43:07 +00001519</plugin>