david_williams | 9621348 | 2004-11-11 09:07:12 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 2 | <?eclipse version="3.3"?> |
jeffliu | 38477e8 | 2005-05-30 00:52:19 +0000 | [diff] [blame] | 3 | <plugin> |
david_williams | 9621348 | 2004-11-11 09:07:12 +0000 | [diff] [blame] | 4 | |
kchong | 90f21b6 | 2005-12-06 22:20:53 +0000 | [diff] [blame] | 5 | <extension-point id="catalogFileType" name="%XML_Catalog_File_Type_Extension_Point.name" schema="schema/catalogFileType.exsd"/> |
david_williams | c36277b | 2005-06-13 00:12:21 +0000 | [diff] [blame] | 6 | |
david_williams | 09de8f8 | 2005-07-08 18:08:48 +0000 | [diff] [blame] | 7 | <extension point="org.eclipse.wst.xml.ui.catalogFileType"> |
csalter | a3a2daa | 2005-06-15 06:53:51 +0000 | [diff] [blame] | 8 | <fileType |
| 9 | extensions="dtd, ent, mod" |
david_williams | a08fdd7 | 2005-07-21 01:49:46 +0000 | [diff] [blame] | 10 | description="%_UI_PREF_DTD_FILES" |
csalter | 6878d89 | 2005-06-17 18:09:23 +0000 | [diff] [blame] | 11 | id="org.eclipse.wst.xml.core.ui.catalogFileType.dtd"> |
csalter | a3a2daa | 2005-06-15 06:53:51 +0000 | [diff] [blame] | 12 | </fileType> |
| 13 | <fileType |
| 14 | extensions="xsd" |
david_williams | a08fdd7 | 2005-07-21 01:49:46 +0000 | [diff] [blame] | 15 | description="%_UI_PREF_XSD_FILES" |
csalter | 6878d89 | 2005-06-17 18:09:23 +0000 | [diff] [blame] | 16 | id="org.eclipse.wst.xml.core.ui.catalogFileType.xsd"> |
csalter | a3a2daa | 2005-06-15 06:53:51 +0000 | [diff] [blame] | 17 | </fileType> |
| 18 | <fileType |
| 19 | extensions="tld" |
david_williams | a08fdd7 | 2005-07-21 01:49:46 +0000 | [diff] [blame] | 20 | description="%_UI_PREF_TAGLIB_DEF_FILES" |
csalter | 6878d89 | 2005-06-17 18:09:23 +0000 | [diff] [blame] | 21 | id="org.eclipse.wst.xml.core.ui.catalogFileType.tld"> |
csalter | a3a2daa | 2005-06-15 06:53:51 +0000 | [diff] [blame] | 22 | </fileType> |
| 23 | </extension> |
nitind | 720e8b5 | 2007-12-18 03:52:33 +0000 | [diff] [blame] | 24 | |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 25 | <!--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 |
nitind | 1bf20a1 | 2005-09-15 11:48:15 +0000 | [diff] [blame] | 32 | class="org.eclipse.wst.xml.ui.StructuredTextViewerConfigurationXML" |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 33 | target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" /> |
| 34 | <contentOutlineConfiguration |
nitind | 1bf20a1 | 2005-09-15 11:48:15 +0000 | [diff] [blame] | 35 | class="org.eclipse.wst.xml.ui.views.contentoutline.XMLContentOutlineConfiguration" |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 36 | target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" /> |
| 37 | <propertySheetConfiguration |
nitind | 1bf20a1 | 2005-09-15 11:48:15 +0000 | [diff] [blame] | 38 | class="org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration" |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 39 | target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" /> |
amywu | 67ef3e3 | 2007-11-05 22:20:31 +0000 | [diff] [blame] | 40 | <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> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 48 | <provisionalConfiguration |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 49 | type="sourceeditingtexttools" |
| 50 | class="org.eclipse.wst.xml.ui.internal.provisional.XMLSourceEditingTextTools" |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 51 | target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" /> |
| 52 | <provisionalConfiguration |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 53 | type="characterpairmatcher" |
| 54 | class="org.eclipse.wst.xml.ui.internal.text.XMLDocumentRegionEdgeMatcher" |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 55 | target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" /> |
| 56 | <provisionalConfiguration |
nitind | 1bf20a1 | 2005-09-15 11:48:15 +0000 | [diff] [blame] | 57 | type="structuredtextfoldingprovider" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 58 | class="org.eclipse.wst.xml.ui.internal.projection.StructuredTextFoldingProviderXML" |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 59 | target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" /> |
nitind | 1bf20a1 | 2005-09-15 11:48:15 +0000 | [diff] [blame] | 60 | <provisionalConfiguration |
amywu | 83d210c | 2007-04-16 21:09:35 +0000 | [diff] [blame] | 61 | 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" /> |
amywu | 67ef3e3 | 2007-11-05 22:20:31 +0000 | [diff] [blame] | 64 | <provisionalConfiguration |
| 65 | type="autoeditstrategy" |
| 66 | class="org.eclipse.wst.xml.ui.internal.autoedit.StructuredAutoEditStrategyXML" |
| 67 | target="org.eclipse.wst.xml.XML_DEFAULT" /> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 68 | <provisionalDefinition |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 69 | type="preferencepages" |
nitind | de12ce6 | 2008-01-31 02:24:31 +0000 | [diff] [blame] | 70 | 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" |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 71 | target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" /> |
nitind | fa875bd | 2007-02-15 02:21:44 +0000 | [diff] [blame] | 72 | <provisionalDefinition |
| 73 | type="spellingregions" |
nitind | 7e1cca8 | 2007-05-01 23:58:08 +0000 | [diff] [blame] | 74 | value="XML_COMMENT_TEXT, XML_CONTENT, XML_DEFAULT" |
nitind | fa875bd | 2007-02-15 02:21:44 +0000 | [diff] [blame] | 75 | target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource" /> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 76 | <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_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 80 | </extension> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 81 | |
| 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_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 139 | <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" /> |
nitind | fd1a0ac | 2007-09-03 07:06:41 +0000 | [diff] [blame] | 144 | <factory |
| 145 | contentTypeId="org.eclipse.wst.xml.core.xmlsource" |
| 146 | class="org.eclipse.wst.sse.ui.internal.StructuredResourceMarkerAnnotationModelFactory" /> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 147 | </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" /> |
nitind | fd1a0ac | 2007-09-03 07:06:41 +0000 | [diff] [blame] | 153 | <contentType id="org.eclipse.wst.xml.core.xmlsource" /> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 154 | </adapterFactoryDescription> |
| 155 | </extension> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 156 | <extension point="org.eclipse.ui.preferencePages"> |
nitind | 0babf61 | 2008-01-30 23:30:51 +0000 | [diff] [blame] | 157 | <!-- 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_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 164 | <page |
| 165 | name="%XML_Files.name" |
nitind | 0babf61 | 2008-01-30 23:30:51 +0000 | [diff] [blame] | 166 | category="org.eclipse.wst.xml.ui.preferences.xml" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 167 | class="org.eclipse.wst.xml.ui.internal.preferences.XMLFilesPreferencePage" |
nitind | 0babf61 | 2008-01-30 23:30:51 +0000 | [diff] [blame] | 168 | id="org.eclipse.wst.xml.ui.preferences.xml.xml"> |
amywu | 73701a0 | 2006-12-06 00:16:27 +0000 | [diff] [blame] | 169 | <keywordReference id="org.eclipse.wst.xml.ui.files"/> |
amywu | f62d85a | 2008-06-05 19:01:52 +0000 | [diff] [blame] | 170 | <keywordReference id="org.eclipse.wst.xml.ui.severities"/> |
nitind | dec1778 | 2008-04-02 04:48:00 +0000 | [diff] [blame] | 171 | </page> |
nitind | 0babf61 | 2008-01-30 23:30:51 +0000 | [diff] [blame] | 172 | <!-- XML PREFERENCE PAGES --> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 173 | <page |
| 174 | name="%XML_Source.name" |
nitind | 0babf61 | 2008-01-30 23:30:51 +0000 | [diff] [blame] | 175 | category="org.eclipse.wst.xml.ui.preferences.xml.xml" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 176 | class="org.eclipse.wst.xml.ui.internal.preferences.XMLSourcePreferencePage" |
| 177 | id="org.eclipse.wst.sse.ui.preferences.xml.source"> |
amywu | 73701a0 | 2006-12-06 00:16:27 +0000 | [diff] [blame] | 178 | <keywordReference id="org.eclipse.wst.xml.ui.source"/> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 179 | </page> |
| 180 | <page |
| 181 | name="%XML_Templates.name" |
nitind | de12ce6 | 2008-01-31 02:24:31 +0000 | [diff] [blame] | 182 | category="org.eclipse.wst.sse.ui.preferences.xml.source" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 183 | class="org.eclipse.wst.xml.ui.internal.preferences.XMLTemplatePreferencePage" |
| 184 | id="org.eclipse.wst.sse.ui.preferences.xml.templates"> |
amywu | 73701a0 | 2006-12-06 00:16:27 +0000 | [diff] [blame] | 185 | <keywordReference id="org.eclipse.wst.xml.ui.templates"/> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 186 | </page> |
| 187 | <page |
nitind | 8314839 | 2007-01-31 00:49:07 +0000 | [diff] [blame] | 188 | name="%XML_Syntax_Coloring" |
nitind | de12ce6 | 2008-01-31 02:24:31 +0000 | [diff] [blame] | 189 | category="org.eclipse.wst.sse.ui.preferences.xml.source" |
nitind | 8314839 | 2007-01-31 00:49:07 +0000 | [diff] [blame] | 190 | class="org.eclipse.wst.xml.ui.internal.preferences.XMLSyntaxColoringPage" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 191 | id="org.eclipse.wst.sse.ui.preferences.xml.colors"> |
amywu | 73701a0 | 2006-12-06 00:16:27 +0000 | [diff] [blame] | 192 | <keywordReference id="org.eclipse.wst.xml.ui.styles"/> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 193 | </page> |
nitind | 0babf61 | 2008-01-30 23:30:51 +0000 | [diff] [blame] | 194 | <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> |
nitind | f4a9c3f | 2008-03-27 07:16:38 +0000 | [diff] [blame] | 201 | <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_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 207 | </extension> |
amywu | 73701a0 | 2006-12-06 00:16:27 +0000 | [diff] [blame] | 208 | |
| 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"/> |
amywu | f62d85a | 2008-06-05 19:01:52 +0000 | [diff] [blame] | 226 | <keyword |
| 227 | label="%preferenceKeywords.severities" |
| 228 | id="org.eclipse.wst.xml.ui.severities"/> |
amywu | 73701a0 | 2006-12-06 00:16:27 +0000 | [diff] [blame] | 229 | </extension> |
| 230 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 231 | <!-- 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> |
nitind | d4f81c0 | 2005-02-07 23:11:25 +0000 | [diff] [blame] | 244 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 245 | <!-- 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_williams | 73c174f | 2005-07-08 20:26:14 +0000 | [diff] [blame] | 274 | translations="$nl$/templates/xmldefault-templates.properties"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 275 | </include> |
| 276 | </extension> |
csalter | 703f883 | 2004-11-11 22:33:56 +0000 | [diff] [blame] | 277 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 278 | <extension point="org.eclipse.ui.editors"> |
| 279 | <editor |
| 280 | name="%XML_Editor.name" |
david_williams | b5d0563 | 2006-02-27 09:24:00 +0000 | [diff] [blame] | 281 | icon="$nl$/icons/xmldoc.gif" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 282 | 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_williams | 09de8f8 | 2005-07-08 18:08:48 +0000 | [diff] [blame] | 287 | <contentTypeBinding |
| 288 | contentTypeId="org.eclipse.wst.xml.core.xmlsource" /> |
| 289 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 290 | </editor> |
nitind | 96cebe6 | 2004-11-30 20:53:38 +0000 | [diff] [blame] | 291 | </extension> |
david_williams | 09de8f8 | 2005-07-08 18:08:48 +0000 | [diff] [blame] | 292 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 293 | <!-- 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> |
nitind | 410b6c2 | 2005-01-25 15:57:22 +0000 | [diff] [blame] | 307 | </extension> |
| 308 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 309 | |
| 310 | |
| 311 | <!-- ================================================== --> |
| 312 | <!-- Contribute a 'New Wizard' for XML files --> |
| 313 | <!-- ================================================== --> |
| 314 | <extension point="org.eclipse.ui.newWizards"> |
| 315 | <category |
amywu | f62d85a | 2008-06-05 19:01:52 +0000 | [diff] [blame] | 316 | name="%_UI_WIZARD_XML_CATEGORY" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 317 | id="org.eclipse.wst.XMLCategory"> |
| 318 | </category> |
| 319 | <wizard |
| 320 | name="%_UI_WIZARD_NEW_XML" |
david_williams | b5d0563 | 2006-02-27 09:24:00 +0000 | [diff] [blame] | 321 | icon="$nl$/icons/XMLFile.gif" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 322 | 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 | <!-- =============================================================================== --> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 334 | <!-- |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 335 | <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> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 355 | --> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 356 | |
| 357 | <!-- =============================================================================== --> |
| 358 | <!-- Allow the 'New XML' wizard to be accessed via the 'Generate' menu on a DTD file --> |
| 359 | <!-- =============================================================================== --> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 360 | <!-- |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 361 | <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> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 381 | --> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 382 | |
| 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_williams | b5d0563 | 2006-02-27 09:24:00 +0000 | [diff] [blame] | 400 | icon="$nl$/icons/newSampleProject_wiz.gif"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 401 | <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" |
amywu | 0178933 | 2006-10-16 19:04:49 +0000 | [diff] [blame] | 413 | banner="icons/newSampleProject_wizbanner.png"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 414 | <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"> |
nitind | 8d9f050 | 2006-06-07 06:21:48 +0000 | [diff] [blame] | 439 | <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/> |
| 440 | <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 441 | </contentTypeIdentifier> |
nitind | fd1a0ac | 2007-09-03 07:06:41 +0000 | [diff] [blame] | 442 | <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_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 446 | </validator> |
| 447 | </extension> |
pavery | dfec417 | 2005-11-09 21:42:30 +0000 | [diff] [blame] | 448 | |
| 449 | <extension point="org.eclipse.wst.sse.ui.sourcevalidation"> |
| 450 | <validator |
| 451 | scope="partial" |
| 452 | class="org.eclipse.wst.xml.ui.internal.validation.MarkupValidator" |
nitind | 8d9f050 | 2006-06-07 06:21:48 +0000 | [diff] [blame] | 453 | id="org.eclipse.wst.xml.ui.internal.validation.markupvalidator"> |
pavery | dfec417 | 2005-11-09 21:42:30 +0000 | [diff] [blame] | 454 | <contentTypeIdentifier id="org.eclipse.core.runtime.xml"> |
nitind | 8d9f050 | 2006-06-07 06:21:48 +0000 | [diff] [blame] | 455 | <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/> |
| 456 | <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/> |
pavery | dfec417 | 2005-11-09 21:42:30 +0000 | [diff] [blame] | 457 | </contentTypeIdentifier> |
nitind | fd1a0ac | 2007-09-03 07:06:41 +0000 | [diff] [blame] | 458 | <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> |
pavery | dfec417 | 2005-11-09 21:42:30 +0000 | [diff] [blame] | 462 | </validator> |
| 463 | </extension> |
| 464 | |
nitind | e8c1049 | 2008-03-12 22:42:56 +0000 | [diff] [blame] | 465 | <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 |
nitind | 29c67af | 2008-03-26 21:09:35 +0000 | [diff] [blame] | 470 | includeOnPreferencePage="true" |
nitind | e8c1049 | 2008-03-12 22:42:56 +0000 | [diff] [blame] | 471 | 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 | |
nitind | d4f81c0 | 2005-02-07 23:11:25 +0000 | [diff] [blame] | 490 | <!--======================================================================================--> |
| 491 | <!-- Document provider for ExternalFileEditorInput --> |
| 492 | <!--======================================================================================--> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 493 | <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> |
nitind | d4f81c0 | 2005-02-07 23:11:25 +0000 | [diff] [blame] | 500 | |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 501 | <!-- To Do: migrate this to the org.eclipse.ui.menus popup: format --> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 502 | <extension point="org.eclipse.ui.popupMenus"> |
david_williams | a4dd766 | 2005-04-14 00:33:20 +0000 | [diff] [blame] | 503 | <viewerContribution |
| 504 | targetID="org.eclipse.core.runtime.xml.source.RulerContext" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 505 | id="org.eclipse.ui.texteditor.ruler.context.actions"> |
david_williams | a4dd766 | 2005-04-14 00:33:20 +0000 | [diff] [blame] | 506 | <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_williams | 09de8f8 | 2005-07-08 18:08:48 +0000 | [diff] [blame] | 524 | |
vbaciu | c3b34ee | 2008-05-14 12:29:48 +0000 | [diff] [blame] | 525 | <!--======================================================================================--> |
| 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> |
lmandel | 3c550af | 2005-06-16 05:46:02 +0000 | [diff] [blame] | 537 | </extension> |
vbaciu | c3b34ee | 2008-05-14 12:29:48 +0000 | [diff] [blame] | 538 | |
| 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_williams | 09de8f8 | 2005-07-08 18:08:48 +0000 | [diff] [blame] | 580 | |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 581 | <!-- |
nitind | 102e60a | 2005-09-15 12:42:42 +0000 | [diff] [blame] | 582 | <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> |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 658 | <editorContribution |
| 659 | targetID="org.eclipse.core.runtime.xml.source" |
| 660 | id="org.eclipse.core.runtime.xml.source.ruler.actions"> |
| 661 | <action |
amywu | 34aa980 | 2005-12-06 23:33:16 +0000 | [diff] [blame] | 662 | label="%AddBookmark.label" |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 663 | 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 |
amywu | 34aa980 | 2005-12-06 23:33:16 +0000 | [diff] [blame] | 668 | label="%SelectRuler.label" |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 669 | class="org.eclipse.ui.texteditor.SelectRulerAction" |
| 670 | actionID="RulerClick" |
| 671 | id="org.eclipse.ui.texteditor.SelectRulerAction"/> |
| 672 | </editorContribution> |
nitind | 102e60a | 2005-09-15 12:42:42 +0000 | [diff] [blame] | 673 | </extension> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 674 | --> |
| 675 | |
amywu | 547e8e1 | 2007-03-14 20:16:31 +0000 | [diff] [blame] | 676 | <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> |
nitind | 720e8b5 | 2007-12-18 03:52:33 +0000 | [diff] [blame] | 692 | <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" |
amywu | bb78f59 | 2008-01-09 22:11:36 +0000 | [diff] [blame] | 703 | name="%_UI_WIZARD_IMPORT_EXPORT_XMLCATALOG"> |
nitind | 720e8b5 | 2007-12-18 03:52:33 +0000 | [diff] [blame] | 704 | <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" |
amywu | bb78f59 | 2008-01-09 22:11:36 +0000 | [diff] [blame] | 720 | name="%_UI_WIZARD_IMPORT_EXPORT_XMLCATALOG"> |
nitind | 720e8b5 | 2007-12-18 03:52:33 +0000 | [diff] [blame] | 721 | <description> |
| 722 | %_UI_EXPORT_XML_CATALOG_FILE |
| 723 | </description> |
| 724 | </wizard> |
| 725 | </extension> |
nitind | fef1e03 | 2008-02-26 02:53:34 +0000 | [diff] [blame] | 726 | |
| 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> |
nitind | 1229366 | 2008-02-28 05:14:02 +0000 | [diff] [blame] | 741 | <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> |
nitind | fef1e03 | 2008-02-26 02:53:34 +0000 | [diff] [blame] | 747 | </extension> |
| 748 | |
| 749 | <extension point="org.eclipse.ui.bindings"> |
nitind | ca70b6f | 2008-03-06 01:01:08 +0000 | [diff] [blame] | 750 | <!-- win32: M1=CTRL, M2=SHIFT, M3=ALT, M4=- |
| 751 | carbon: M1=COMMAND, M2=SHIFT, M3=ALT, M4=CTRL |
| 752 | gtk: ? |
| 753 | --> |
| 754 | <!-- Navigate commands --> |
nitind | fef1e03 | 2008-02-26 02:53:34 +0000 | [diff] [blame] | 755 | <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 |
nitind | ca70b6f | 2008-03-06 01:01:08 +0000 | [diff] [blame] | 761 | 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 |
nitind | fef1e03 | 2008-02-26 02:53:34 +0000 | [diff] [blame] | 767 | 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"/> |
nitind | 1229366 | 2008-02-28 05:14:02 +0000 | [diff] [blame] | 771 | <key |
nitind | ca70b6f | 2008-03-06 01:01:08 +0000 | [diff] [blame] | 772 | 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 |
nitind | ae479a5 | 2008-02-28 05:40:29 +0000 | [diff] [blame] | 778 | sequence="M1+M2+>" |
nitind | 1229366 | 2008-02-28 05:14:02 +0000 | [diff] [blame] | 779 | contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 780 | commandId="org.eclipse.wst.xml.ui.gotoMatchingTag" |
| 781 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/> |
nitind | ca70b6f | 2008-03-06 01:01:08 +0000 | [diff] [blame] | 782 | <key |
| 783 | platform="carbon" |
nitind | b73bdcb | 2008-04-03 01:54:31 +0000 | [diff] [blame] | 784 | sequence="CTRL+SHIFT+." |
nitind | ca70b6f | 2008-03-06 01:01:08 +0000 | [diff] [blame] | 785 | contextId="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 786 | commandId="org.eclipse.wst.xml.ui.gotoMatchingTag" |
| 787 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/> |
| 788 | |
nitind | fef1e03 | 2008-02-26 02:53:34 +0000 | [diff] [blame] | 789 | </extension> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 790 | |
| 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"> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 797 | <!-- Unable to contribute to Search menu at the moment due to bug 213385 --> |
| 798 | <!-- |
| 799 | <menuContribution locationURI="menu:org.eclipse.search.menu"> |
| 800 | --> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 801 | <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"> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 812 | <reference definitionId="org.eclipse.wst.xml.ui.navigation"></reference> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 813 | </visibleWhen> |
| 814 | </command> |
| 815 | <command commandId="org.eclipse.wst.xml.ui.previousSibling" id="GoToPreviousSibling" label="%ActionDefinition.previousSibling.name" style="push"> |
| 816 | <visibleWhen checkEnabled="false"> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 817 | <reference definitionId="org.eclipse.wst.xml.ui.navigation"></reference> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 818 | </visibleWhen> |
| 819 | </command> |
| 820 | <separator name="goToSiblingsEnd" visible="false"></separator> |
| 821 | </menuContribution> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 822 | <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" |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 834 | mnemonic="%Constraints_mnemonic" |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 835 | style="push"> |
| 836 | <visibleWhen checkEnabled="false"> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 837 | <and> |
| 838 | <reference definitionId="org.eclipse.wst.xml.ui.grammar"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 839 | <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" |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 849 | mnemonic="%ReloadDependencies_mnemonic" |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 850 | style="push"> |
| 851 | <visibleWhen checkEnabled="false"> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 852 | <and> |
| 853 | <reference definitionId="org.eclipse.wst.xml.ui.dependencies"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 854 | <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> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 872 | <reference definitionId="org.eclipse.wst.xml.ui.expand"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 873 | <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> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 886 | <reference definitionId="org.eclipse.wst.xml.ui.expand"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 887 | <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> |
nitind | 5c771fb | 2008-04-24 04:58:32 +0000 | [diff] [blame] | 904 | <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> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 911 | <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> |
amywu | 8812d75 | 2008-04-21 17:41:37 +0000 | [diff] [blame] | 922 | <iterate ifEmpty="false"> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 923 | <adapt |
| 924 | type="org.eclipse.core.resources.IFile"> |
| 925 | <test |
nitind | 24dfab3 | 2008-05-22 16:40:03 +0000 | [diff] [blame] | 926 | property="org.eclipse.wst.sse.core.resources.contentTypeId" |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 927 | value="org.eclipse.wst.xsd.core.xsdsource"> |
| 928 | </test> |
| 929 | </adapt> |
| 930 | </iterate> |
amywu | 8812d75 | 2008-04-21 17:41:37 +0000 | [diff] [blame] | 931 | <iterate ifEmpty="false"> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 932 | <adapt |
| 933 | type="org.eclipse.core.resources.IFile"> |
| 934 | <test |
nitind | 24dfab3 | 2008-05-22 16:40:03 +0000 | [diff] [blame] | 935 | property="org.eclipse.wst.sse.core.resources.contentTypeId" |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 936 | 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 |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 963 | definitionId="org.eclipse.wst.xml.ui.grammar"> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 964 | </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 |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 975 | definitionId="org.eclipse.wst.xml.ui.dependencies"> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 976 | </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 |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 991 | definitionId="org.eclipse.wst.xml.ui.expand"> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 992 | </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"> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1000 | <visibleWhen |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1001 | checkEnabled="false"> |
| 1002 | <reference |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1003 | definitionId="org.eclipse.wst.xml.ui.expand"> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1004 | </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"> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1013 | <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"> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1083 | <or> |
| 1084 | <with variable="activeEditorId"> |
| 1085 | <equals value="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart"></equals> |
| 1086 | </with> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1087 | <with variable="activeContexts"> |
| 1088 | <iterate operator="or"> |
| 1089 | <equals value="org.eclipse.wst.xml.dependencies"/> |
| 1090 | </iterate> |
| 1091 | </with> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1092 | </or> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1093 | </definition> |
| 1094 | </extension> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1095 | |
| 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 | |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1126 | <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> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1132 | <reference definitionId="org.eclipse.wst.xml.ui.cleanup"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1133 | </activeWhen> |
| 1134 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1135 | <reference definitionId="org.eclipse.wst.xml.ui.cleanup"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1136 | </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> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1142 | <reference definitionId="org.eclipse.wst.xml.ui.comments"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1143 | </activeWhen> |
| 1144 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1145 | <reference definitionId="org.eclipse.wst.xml.ui.comments"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1146 | </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> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1152 | <reference definitionId="org.eclipse.wst.xml.ui.comments"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1153 | </activeWhen> |
| 1154 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1155 | <reference definitionId="org.eclipse.wst.xml.ui.comments"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1156 | </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> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1162 | <reference definitionId="org.eclipse.wst.xml.ui.comments"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1163 | </activeWhen> |
| 1164 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1165 | <reference definitionId="org.eclipse.wst.xml.ui.comments"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1166 | </enabledWhen> |
| 1167 | </handler> |
| 1168 | <handler |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1169 | class="org.eclipse.wst.xml.ui.internal.handlers.StructuredSelectEnclosingXMLHandler" |
| 1170 | commandId="org.eclipse.wst.sse.ui.structure.select.enclosing"> |
| 1171 | <activeWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1172 | <reference definitionId="org.eclipse.wst.xml.ui.selection"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1173 | </activeWhen> |
| 1174 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1175 | <reference definitionId="org.eclipse.wst.xml.ui.selection"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1176 | </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> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1182 | <reference definitionId="org.eclipse.wst.xml.ui.selection"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1183 | </activeWhen> |
| 1184 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1185 | <reference definitionId="org.eclipse.wst.xml.ui.selection"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1186 | </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> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1192 | <reference definitionId="org.eclipse.wst.xml.ui.selection"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1193 | </activeWhen> |
| 1194 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1195 | <reference definitionId="org.eclipse.wst.xml.ui.selection"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1196 | </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> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1202 | <reference definitionId="org.eclipse.wst.xml.ui.selection"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1203 | </activeWhen> |
| 1204 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1205 | <reference definitionId="org.eclipse.wst.xml.ui.selection"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1206 | </enabledWhen> |
| 1207 | </handler> |
| 1208 | <handler |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1209 | class="org.eclipse.wst.xml.ui.internal.handlers.XMLFindOccurencesHandler" |
| 1210 | commandId="org.eclipse.wst.sse.ui.search.find.occurrences"> |
| 1211 | <activeWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1212 | <reference definitionId="org.eclipse.wst.xml.ui.occurrences"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1213 | </activeWhen> |
| 1214 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1215 | <reference definitionId="org.eclipse.wst.xml.ui.occurrences"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1216 | </enabledWhen> |
| 1217 | </handler> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1218 | <!-- |
| 1219 | <handler |
| 1220 | class="org.eclipse.wst.xml.ui.internal.handlers.GoToMatchingTagHandler" |
| 1221 | commandId="org.eclipse.wst.xml.ui.gotoMatchingTag"> |
| 1222 | <activeWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1223 | <reference definitionId="org.eclipse.wst.xml.ui.navigation"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1224 | </activeWhen> |
| 1225 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1226 | <reference definitionId="org.eclipse.wst.xml.ui.navigation"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1227 | </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> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1234 | <reference definitionId="org.eclipse.wst.xml.ui.navigation"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1235 | </activeWhen> |
| 1236 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1237 | <reference definitionId="org.eclipse.wst.xml.ui.navigation"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1238 | </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> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1244 | <reference definitionId="org.eclipse.wst.xml.ui.navigation"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1245 | </activeWhen> |
| 1246 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1247 | <reference definitionId="org.eclipse.wst.xml.ui.navigation"/> |
amywu | d0a69a0 | 2008-03-27 02:58:48 +0000 | [diff] [blame] | 1248 | </enabledWhen> |
| 1249 | </handler> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1250 | <handler |
| 1251 | class="org.eclipse.wst.xml.ui.internal.handlers.ReloadDependenciesHandler" |
| 1252 | commandId="org.eclipse.wst.xml.ui.reload.dependecies"> |
| 1253 | <activeWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1254 | <reference definitionId="org.eclipse.wst.xml.ui.dependencies"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1255 | </activeWhen> |
| 1256 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1257 | <reference definitionId="org.eclipse.wst.xml.ui.dependencies"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1258 | </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> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1264 | <reference definitionId="org.eclipse.wst.xml.ui.grammar"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1265 | </activeWhen> |
| 1266 | <enabledWhen> |
amywu | 8170609 | 2008-04-03 06:45:06 +0000 | [diff] [blame] | 1267 | <reference definitionId="org.eclipse.wst.xml.ui.grammar"/> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1268 | </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> |
nitind | 52fe70b | 2008-05-15 21:52:16 +0000 | [diff] [blame] | 1327 | |
| 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> |
amywu | 1950319 | 2008-03-26 05:32:35 +0000 | [diff] [blame] | 1485 | |
amywu | a46ee32 | 2008-04-24 02:05:28 +0000 | [diff] [blame] | 1486 | <!-- 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> |
amywu | 41e7a7b | 2007-10-30 22:43:07 +0000 | [diff] [blame] | 1519 | </plugin> |