blob: 248c4f82fd7a2a1dd4c90288c65af0ddbae60f1b [file] [log] [blame]
nitind958d79a2004-11-23 19:23:00 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
jeffliu38477e82005-05-30 00:52:19 +00003<plugin>
nitind958d79a2004-11-23 19:23:00 +00004
amywu182bbfd2005-12-07 21:57:15 +00005 <extension-point id="deviceProfileEntryProvider" name="%Device_Profile_Entry_Provider_Extension.name" schema="schema/deviceProfileEntryProvider.exsd"/>
nitind958d79a2004-11-23 19:23:00 +00006
david_williamsad0e4cc2005-06-04 01:49:19 +00007 <extension point="org.eclipse.ui.editors">
8 <editor
9 name="%HTML_Source_Page_Editor.name"
david_williamsb5d05632006-02-27 09:24:00 +000010 icon="$nl$/icons/full/obj16/sourceEditor.gif"
david_williamsad0e4cc2005-06-04 01:49:19 +000011 contributorClass="org.eclipse.wst.html.ui.internal.edit.ui.ActionContributorHTML"
nitind102e60a2005-09-15 12:42:42 +000012 class="org.eclipse.wst.sse.ui.StructuredTextEditor"
david_williamsad0e4cc2005-06-04 01:49:19 +000013 symbolicFontName="org.eclipse.wst.sse.ui.textfont"
14 id="org.eclipse.wst.html.core.htmlsource.source">
15 <contentTypeBinding
16 contentTypeId="org.eclipse.wst.html.core.htmlsource" />
17 </editor>
18 </extension>
nitindf8e77632005-09-07 23:49:25 +000019 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
20 <sourceViewerConfiguration
nitind07a1f4b2005-11-07 05:53:41 +000021 class="org.eclipse.wst.html.ui.StructuredTextViewerConfigurationHTML"
david_williamsad0e4cc2005-06-04 01:49:19 +000022 target="org.eclipse.wst.html.core.htmlsource" />
nitindf8e77632005-09-07 23:49:25 +000023 <contentOutlineConfiguration
nitind1bf20a12005-09-15 11:48:15 +000024 class="org.eclipse.wst.html.ui.views.contentoutline.HTMLContentOutlineConfiguration"
david_williamsad0e4cc2005-06-04 01:49:19 +000025 target="org.eclipse.wst.html.core.htmlsource" />
nitindf8e77632005-09-07 23:49:25 +000026 <propertySheetConfiguration
nitind1bf20a12005-09-15 11:48:15 +000027 class="org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration"
david_williamsad0e4cc2005-06-04 01:49:19 +000028 target="org.eclipse.wst.html.core.htmlsource" />
amywu41e7a7b2007-10-30 22:43:07 +000029 <documentationTextHover
30 class="org.eclipse.wst.html.ui.internal.taginfo.HTMLTagInfoHoverProcessor"
31 target="org.eclipse.wst.html.HTML_DEFAULT">
32 </documentationTextHover>
nitindf8e77632005-09-07 23:49:25 +000033 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000034 type="sourceeditingtexttools"
35 class="org.eclipse.wst.xml.ui.internal.provisional.XMLSourceEditingTextTools"
36 target="org.eclipse.wst.html.core.htmlsource" />
nitindf8e77632005-09-07 23:49:25 +000037 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000038 type="characterpairmatcher"
39 class="org.eclipse.wst.html.ui.internal.text.HTMLDocumentRegionEdgeMatcher"
40 target="org.eclipse.wst.html.core.htmlsource" />
nitindf8e77632005-09-07 23:49:25 +000041 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000042 type="structuredtextfoldingprovider"
43 class="org.eclipse.wst.html.ui.internal.projection.StructuredTextFoldingProviderHTML"
44 target="org.eclipse.wst.html.core.htmlsource" />
nitind1bf20a12005-09-15 11:48:15 +000045 <provisionalConfiguration
amywu83d210c2007-04-16 21:09:35 +000046 type="org.eclipse.jface.text.quickassist.IQuickAssistProcessor"
47 class="org.eclipse.wst.xml.ui.internal.correction.XMLQuickAssistProcessor"
48 target="org.eclipse.wst.html.HTML_DEFAULT" />
amywu67ef3e32007-11-05 22:20:31 +000049 <provisionalConfiguration
50 type="autoeditstrategy"
51 class="org.eclipse.wst.html.ui.internal.autoedit.StructuredAutoEditStrategyHTML"
52 target="org.eclipse.wst.html.HTML_DEFAULT, org.eclipse.wst.html.HTML_DECLARATION" />
nitindf8e77632005-09-07 23:49:25 +000053 <provisionalDefinition
david_williamsad0e4cc2005-06-04 01:49:19 +000054 type="preferencepages"
nitind14e0c2a2008-03-25 18:12:28 +000055 value="org.eclipse.wst.html.ui.preferences.html, org.eclipse.wst.html.ui.preferences.source, org.eclipse.wst.html.ui.preferences.templates, org.eclipse.wst.html.ui.preferences.styles,org.eclipse.wst.html.ui.preferences.validation"
david_williamsad0e4cc2005-06-04 01:49:19 +000056 target="org.eclipse.wst.html.core.htmlsource" />
nitindfa875bd2007-02-15 02:21:44 +000057 <provisionalDefinition
58 type="spellingregions"
59 value="XML_COMMENT_TEXT, XML_CONTENT"
60 target="org.eclipse.wst.html.core.htmlsource" />
amywu81706092008-04-03 06:45:06 +000061 <provisionalDefinition
62 type="activecontexts"
63 value="org.eclipse.wst.html.core.htmlsource, org.eclipse.wst.html.occurrences, org.eclipse.core.runtime.xml, org.eclipse.wst.xml.navigation, org.eclipse.wst.xml.comments, org.eclipse.wst.xml.selection"
64 target="org.eclipse.wst.html.core.htmlsource" />
david_williamsad0e4cc2005-06-04 01:49:19 +000065 </extension>
66 <extension
67 point="org.eclipse.core.filebuffers.annotationModelCreation">
68 <factory
69 contentTypeId="org.eclipse.wst.html.core.htmlsource"
70 class="org.eclipse.wst.sse.ui.internal.StructuredResourceMarkerAnnotationModelFactory" />
71 </extension>
72 <extension
73 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
74 <adapterFactoryDescription
75 class="org.eclipse.wst.html.ui.internal.registry.AdapterFactoryProviderForHTML">
76 <contentType id="org.eclipse.wst.html.core.htmlsource" />
77 </adapterFactoryDescription>
78 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +000079 <extension point="org.eclipse.ui.preferencePages">
nitind0babf612008-01-30 23:30:51 +000080 <page
81 name="%WEB.name"
82 class="org.eclipse.wst.html.ui.internal.preferences.ui.EmptyFilePreferencePage"
83 id="org.eclipse.wst.html.ui.preferences.web">
84 </page>
david_williamsad0e4cc2005-06-04 01:49:19 +000085 <!-- HTML PREFERENCE PAGES-->
86 <page
87 name="%HTML_Files.name"
nitind0babf612008-01-30 23:30:51 +000088 category="org.eclipse.wst.html.ui.preferences.web"
david_williamsad0e4cc2005-06-04 01:49:19 +000089 class="org.eclipse.wst.html.ui.internal.preferences.ui.HTMLFilesPreferencePage"
nitind0babf612008-01-30 23:30:51 +000090 id="org.eclipse.wst.html.ui.preferences.html">
amywu73701a02006-12-06 00:16:27 +000091 <keywordReference id="org.eclipse.wst.html.ui.files"/>
david_williamsad0e4cc2005-06-04 01:49:19 +000092 </page>
93 <page
94 name="%HTML_Source.name"
nitind0babf612008-01-30 23:30:51 +000095 category="org.eclipse.wst.html.ui.preferences.html"
david_williamsad0e4cc2005-06-04 01:49:19 +000096 class="org.eclipse.wst.html.ui.internal.preferences.ui.HTMLSourcePreferencePage"
97 id="org.eclipse.wst.html.ui.preferences.source">
amywu73701a02006-12-06 00:16:27 +000098 <keywordReference id="org.eclipse.wst.html.ui.source"/>
david_williamsad0e4cc2005-06-04 01:49:19 +000099 </page>
100 <page
101 name="%HTML_Templates.name"
nitindde12ce62008-01-31 02:24:31 +0000102 category="org.eclipse.wst.html.ui.preferences.source"
david_williamsad0e4cc2005-06-04 01:49:19 +0000103 class="org.eclipse.wst.html.ui.internal.preferences.ui.HTMLTemplatePreferencePage"
104 id="org.eclipse.wst.html.ui.preferences.templates">
amywu73701a02006-12-06 00:16:27 +0000105 <keywordReference id="org.eclipse.wst.html.ui.templates"/>
david_williamsad0e4cc2005-06-04 01:49:19 +0000106 </page>
107 <page
nitind83148392007-01-31 00:49:07 +0000108 name="%HTML_Syntax_Coloring"
nitindde12ce62008-01-31 02:24:31 +0000109 category="org.eclipse.wst.html.ui.preferences.source"
nitind83148392007-01-31 00:49:07 +0000110 class="org.eclipse.wst.html.ui.internal.preferences.ui.HTMLSyntaxColoringPage"
david_williamsad0e4cc2005-06-04 01:49:19 +0000111 id="org.eclipse.wst.html.ui.preferences.styles">
amywu73701a02006-12-06 00:16:27 +0000112 <keywordReference id="org.eclipse.wst.html.ui.styles"/>
david_williamsad0e4cc2005-06-04 01:49:19 +0000113 </page>
nitind14e0c2a2008-03-25 18:12:28 +0000114 <page
115 name="%HTML_Validation"
116 category="org.eclipse.wst.html.ui.preferences.html"
117 class="org.eclipse.wst.html.ui.internal.preferences.ui.HTMLValidationPreferencePage"
118 id="org.eclipse.wst.html.ui.preferences.validation">
nitind14e0c2a2008-03-25 18:12:28 +0000119 </page>
nitindf4a9c3f2008-03-27 07:16:38 +0000120 <page
121 name="%HTML_Typing"
122 category="org.eclipse.wst.html.ui.preferences.source"
123 class="org.eclipse.wst.html.ui.internal.preferences.ui.HTMLTypingPreferencePage"
124 id="org.eclipse.wst.html.ui.preferences.typing">
125 </page>
david_williamsad0e4cc2005-06-04 01:49:19 +0000126 </extension>
127 <!-- Web content settings -->
128 <extension point="org.eclipse.ui.propertyPages">
129 <!-- for j2ee web project -->
130 <page
david_williamsad0e4cc2005-06-04 01:49:19 +0000131 name="%WebContentSettings.name"
amywu3a205672006-02-23 05:05:23 +0000132 class="org.eclipse.wst.html.ui.internal.contentproperties.ui.ProjectWebContentSettingsPropertyPage"
david_williamsad0e4cc2005-06-04 01:49:19 +0000133 id="org.eclipse.wst.html.ui.dynamicprojectpropertypage">
amywuae070272006-06-01 20:49:46 +0000134 <enabledWhen>
135 <and>
136 <adapt type="org.eclipse.core.resources.IProject">
137 <or>
138 <test
139 forcePluginActivation="true"
140 property="org.eclipse.wst.common.project.facet.core.projectFacet"
141 value="jst.web" />
142 <test
143 forcePluginActivation="true"
144 property="org.eclipse.wst.common.project.facet.core.projectFacet"
145 value="wst.web" />
146 </or>
147 </adapt>
148 </and>
149 </enabledWhen>
amywu73701a02006-12-06 00:16:27 +0000150 <keywordReference id="org.eclipse.wst.html.ui.webcontent"/>
david_williamsad0e4cc2005-06-04 01:49:19 +0000151 </page>
152 <page
david_williamsad0e4cc2005-06-04 01:49:19 +0000153 name="%WebContentSettings.name"
amywu3a205672006-02-23 05:05:23 +0000154 class="org.eclipse.wst.html.ui.internal.contentproperties.ui.WebContentSettingsPropertyPage"
amywuae070272006-06-01 20:49:46 +0000155 id="org.eclipse.wst.html.ui.internal.contentproperties.ui.WebContentSettingsPropertyPage">
156 <enabledWhen>
157 <and>
158 <adapt type="org.eclipse.core.resources.IFile">
159 <or>
160 <test
161 forcePluginActivation="true"
162 property="org.eclipse.core.resources.contentTypeId"
163 value="org.eclipse.wst.html.core.htmlsource" />
164 <test
165 forcePluginActivation="true"
166 property="org.eclipse.core.resources.contentTypeId"
167 value="org.eclipse.jst.jsp.core.jspsource" />
168 <test
169 forcePluginActivation="true"
170 property="org.eclipse.core.resources.contentTypeId"
171 value="org.eclipse.jst.jsp.core.jspfragmentsource" />
172 <test
173 forcePluginActivation="true"
174 property="org.eclipse.core.resources.contentTypeId"
175 value="org.eclipse.jst.jsp.core.cssjspfragmentsource" />
176 </or>
177 </adapt>
178 </and>
179 </enabledWhen>
amywu73701a02006-12-06 00:16:27 +0000180 <keywordReference id="org.eclipse.wst.html.ui.webcontent"/>
david_williamsad0e4cc2005-06-04 01:49:19 +0000181 </page>
nitind14e0c2a2008-03-25 18:12:28 +0000182 <page
183 name="%HTML_Property_validation"
184 class="org.eclipse.wst.html.ui.internal.preferences.ui.HTMLValidationPreferencePage"
nitind3374bcd2008-03-26 21:10:38 +0000185 id="org.eclipse.wst.html.ui.propertyPage.project.validation"
nitind14e0c2a2008-03-25 18:12:28 +0000186 category="ValidationPropertiesPage">
187 <enabledWhen>
188 <adapt type="org.eclipse.core.resources.IProject">
189
190 </adapt>
191 </enabledWhen>
192 </page>
david_williamsad0e4cc2005-06-04 01:49:19 +0000193 </extension>
amywu73701a02006-12-06 00:16:27 +0000194
195 <!-- Keywords for preference and properties pages -->
196 <extension point="org.eclipse.ui.keywords">
197 <keyword
198 label="%preferenceKeywords.files"
199 id="org.eclipse.wst.html.ui.files"/>
200 <keyword
201 label="%preferenceKeywords.source"
202 id="org.eclipse.wst.html.ui.source"/>
203 <keyword
204 label="%preferenceKeywords.templates"
205 id="org.eclipse.wst.html.ui.templates"/>
206 <keyword
207 label="%preferenceKeywords.styles"
208 id="org.eclipse.wst.html.ui.styles"/>
209 <keyword
210 label="%preferenceKeywords.webcontent"
211 id="org.eclipse.wst.html.ui.webcontent"/>
nitinddec17782008-04-02 04:48:00 +0000212 <keyword
213 label="%preferenceKeywords.severities"
214 id="org.eclipse.wst.html.ui.severities"/>
amywu73701a02006-12-06 00:16:27 +0000215 </extension>
216
david_williamsad0e4cc2005-06-04 01:49:19 +0000217 <!-- Editor actionsets -->
218 <extension point="org.eclipse.ui.actionSetPartAssociations">
219 <actionSetPartAssociation
220 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
221 <part id="org.eclipse.wst.html.core.htmlsource.source">
222 </part>
223 </actionSetPartAssociation>
224 <actionSetPartAssociation
225 targetID="org.eclipse.ui.NavigateActionSet">
226 <part id="org.eclipse.wst.html.core.htmlsource.source">
227 </part>
228 </actionSetPartAssociation>
229 </extension>
nitindd4f81c02005-02-07 23:11:25 +0000230
david_williamsad0e4cc2005-06-04 01:49:19 +0000231 <!-- Templates -->
232 <extension point="org.eclipse.ui.editors.templates">
233 <contextType
234 name="%All_HTML_context_type_Extension_Element.name"
235 class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML"
236 id="html_all">
237 </contextType>
238 <contextType
239 name="%HTML_New_context_type_Extension_Element.name"
240 class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML"
241 id="html_new">
242 </contextType>
243 <contextType
244 name="%HTML_Tag_context_type_Extension_Element.name"
245 class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML"
246 id="html_tag">
247 </contextType>
248 <contextType
249 name="%HTML_Attribute_context_type_Extension_Element.name"
250 class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML"
251 id="html_attribute">
252 </contextType>
253 <contextType
254 name="%HTML_Attribute_value_context_type_Extension_Element.name"
255 class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML"
256 id="html_attribute_value">
257 </contextType>
258 <include
259 file="templates/htmldefault-templates.xml"
david_williams73c174f2005-07-08 20:26:14 +0000260 translations="$nl$/templates/htmldefault-templates.properties">
david_williamsad0e4cc2005-06-04 01:49:19 +0000261 </include>
262 </extension>
amywu81706092008-04-03 06:45:06 +0000263
264 <!-- Define the HTML Contexts -->
265 <extension point="org.eclipse.ui.contexts">
266 <context
267 name="%scope.structured.text.editor.html.name"
268 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
269 description="%scope.structured.text.editor.html.description"
270 id="org.eclipse.wst.html.core.htmlsource">
271 </context>
272 <context
273 name="%scope.structured.text.editor.html.occurrences.name"
274 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
275 description="%scope.structured.text.editor.html.occurrences.description"
276 id="org.eclipse.wst.html.occurrences">
277 </context>
278 </extension>
279
nitind410b6c22005-01-25 15:57:22 +0000280 <!-- initialize html ui preferences -->
281 <extension point="org.eclipse.core.runtime.preferences">
david_williamsad0e4cc2005-06-04 01:49:19 +0000282 <initializer
283 class="org.eclipse.wst.html.ui.internal.preferences.HTMLUIPreferenceInitializer" />
nitind410b6c22005-01-25 15:57:22 +0000284 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000285
nitindd4f81c02005-02-07 23:11:25 +0000286 <!--======================================================================================-->
287 <!-- Document provider for ExternalFileEditorInput -->
288 <!--======================================================================================-->
david_williamsad0e4cc2005-06-04 01:49:19 +0000289 <extension point="org.eclipse.ui.editors.documentProviders">
290 <provider
291 inputTypes="org.eclipse.wst.html.ui.internal.hyperlink.ExternalFileEditorInput"
292 class="org.eclipse.ui.editors.text.TextFileDocumentProvider"
293 id="org.eclipse.wst.html.ui.internal.ExternalFileDocumentProvider">
294 </provider>
295 </extension>
296
paverye6107e62005-02-23 18:01:10 +0000297 <!--======================================================================================-->
298 <!-- Workbench validation -->
299 <!--======================================================================================-->
nitind3b1ac312008-04-21 20:41:30 +0000300 <extension id="HTMLValidator" name="%HTML_Syntax_Validator.name" point="org.eclipse.wst.validation.validatorV2">
301 <validator
302 build="true"
303 class="org.eclipse.wst.html.internal.validation.HTMLValidator"
304 manual="true"
305 sourceid="org.eclipse.wst.html.ui.internal.validation.htmlsyntaxvalidator"
306 version="1"
307 markerId="org.eclipse.wst.html.core.validationMarker">
308 <include>
309 <rules>
310 <contentType id="org.eclipse.wst.html.core.htmlsource"></contentType>
311 <fileext caseSensitive="false" ext="html"/>
312 <fileext caseSensitive="false" ext="xhtml"/>
313 <fileext caseSensitive="false" ext="htm"/>
314 <fileext caseSensitive="false" ext="htpl"/>
315 <fileext caseSensitive="false" ext="wml"/>
316 </rules>
317 </include>
318 <group id="org.eclipse.wst.sse.core.structuredModelGroup"/>
nitind50477b42008-01-17 03:29:48 +0000319 </validator>
nitind3b1ac312008-04-21 20:41:30 +0000320 </extension>
paverye6107e62005-02-23 18:01:10 +0000321
322 <!--======================================================================================-->
323 <!-- As you type validation -->
324 <!--======================================================================================-->
david_williamsad0e4cc2005-06-04 01:49:19 +0000325
326 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
327 <validator
paverya0e2eae2005-10-20 20:24:29 +0000328 scope="partial"
david_williamsad0e4cc2005-06-04 01:49:19 +0000329 class="org.eclipse.wst.html.internal.validation.HTMLValidator"
nitind8d9f0502006-06-07 06:21:48 +0000330 id="org.eclipse.wst.html.ui.internal.validation.htmlsyntaxvalidator">
david_williamsad0e4cc2005-06-04 01:49:19 +0000331 <contentTypeIdentifier
332 id="org.eclipse.wst.html.core.htmlsource">
nitind8d9f0502006-06-07 06:21:48 +0000333 <partitionType id="org.eclipse.wst.html.HTML_DEFAULT"/>
334 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/>
335 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/>
david_williamsad0e4cc2005-06-04 01:49:19 +0000336 </contentTypeIdentifier>
nitind8d9f0502006-06-07 06:21:48 +0000337 </validator>
nitinda9458e52006-11-02 00:59:27 +0000338 </extension>
339 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
nitind8d9f0502006-06-07 06:21:48 +0000340 <validator
341 scope="partial"
342 class="org.eclipse.wst.xml.ui.internal.validation.MarkupValidator"
343 id="org.eclipse.wst.html.ui.internal.validation.markupvalidator">
david_williamsad0e4cc2005-06-04 01:49:19 +0000344 <contentTypeIdentifier
nitind8d9f0502006-06-07 06:21:48 +0000345 id="org.eclipse.wst.html.core.htmlsource">
nitind8d9f0502006-06-07 06:21:48 +0000346 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/>
347 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/>
david_williamsad0e4cc2005-06-04 01:49:19 +0000348 </contentTypeIdentifier>
349 </validator>
350 </extension>
351
nitind65cb13d2005-03-10 23:04:22 +0000352
david_williams9f462582005-04-15 23:38:47 +0000353 <!-- New HTML wizard -->
nitind65cb13d2005-03-10 23:04:22 +0000354 <extension point="org.eclipse.ui.newWizards">
david_williamsad0e4cc2005-06-04 01:49:19 +0000355 <wizard
356 id="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard"
nitind65cb13d2005-03-10 23:04:22 +0000357 name="%_UI_WIZARD_NAME"
358 class="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard"
359 category="org.eclipse.wst.web.ui"
david_williamsb5d05632006-02-27 09:24:00 +0000360 icon="$nl$/icons/full/etool16/newhtml_wiz.gif">
nitind65cb13d2005-03-10 23:04:22 +0000361 <description>%_UI_WIZARD_CREATE_NEW_FILE</description>
362 <selection class="org.eclipse.core.resources.IResource" />
363 </wizard>
364 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000365
366 <!-- Add new HTML wizard to J2EE Project Navigator -->
367 <extension
nitind41be8ce2005-08-11 03:16:13 +0000368 id="org.eclipse.wst.html.commonWizard.newHTML"
amywu3a205672006-02-23 05:05:23 +0000369 point="org.eclipse.ui.navigator.navigatorContent">
david_williamsad0e4cc2005-06-04 01:49:19 +0000370 <commonWizard
jlanutib5fbe9d2006-05-16 18:09:12 +0000371 menuGroupId="org.eclipse.wst.web.ui"
372 type="new"
373 wizardId="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard">
david_williams9f462582005-04-15 23:38:47 +0000374 <enablement>
375 <or>
amywu9802af82006-06-01 21:22:40 +0000376 <adapt type="org.eclipse.core.resources.IResource">
377 <or>
378 <test
379 property="org.eclipse.wst.common.project.facet.core.projectFacet"
380 value="wst.web"/>
381 <test
382 property="org.eclipse.wst.common.project.facet.core.projectFacet"
383 value="jst.web"/>
384 </or>
385 </adapt>
david_williams9f462582005-04-15 23:38:47 +0000386 </or>
387 </enablement>
david_williamsad0e4cc2005-06-04 01:49:19 +0000388 </commonWizard>
389 </extension>
390
391 <extension point="org.eclipse.ui.popupMenus">
david_williamsa4dd7662005-04-14 00:33:20 +0000392 <viewerContribution
393 targetID="org.eclipse.wst.html.core.htmlsource.source.RulerContext"
david_williamsad0e4cc2005-06-04 01:49:19 +0000394 id="org.eclipse.ui.texteditor.ruler.context.actions">
david_williamsa4dd7662005-04-14 00:33:20 +0000395 <action
396 label="%AddTask.label"
397 helpContextId="org.eclipse.ui.AddTask_action_context"
398 class="org.eclipse.ui.texteditor.TaskRulerAction"
399 tooltip="%AddTask.tooltip"
400 menubarPath="additions"
401 id="org.eclipse.ui.texteditor.TaskRulerAction">
402 </action>
403 <action
404 label="%AddBookmark.label"
405 helpContextId="org.eclipse.ui.bookmark_action_context"
406 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
407 tooltip="%AddBookmark.tooltip"
408 menubarPath="additions"
409 id="org.eclipse.ui.texteditor.BookmarkRulerAction">
410 </action>
411 </viewerContribution>
412 </extension>
nitind102e60a2005-09-15 12:42:42 +0000413
414 <extension point="org.eclipse.ui.editorActions">
amywu81706092008-04-03 06:45:06 +0000415 <!-- <editorContribution
nitind102e60a2005-09-15 12:42:42 +0000416 id="org.eclipse.wst.html.core.htmlsource.source.editorActions"
417 targetID="org.eclipse.wst.html.core.htmlsource.source">
418 <action
419 id="CleanupDocument"
420 label="%CleanupDocument_label"
421 definitionId="org.eclipse.wst.sse.ui.cleanup.document"
422 tooltip="%CleanupDocument_tooltip"
423 class="org.eclipse.wst.html.ui.internal.edit.ui.CleanupActionHTMLDelegate"
424 actionID="CleanupDocument">
425 </action>
426 <action
427 id="ToggleComment"
428 label="%ToggleComment_label"
429 definitionId="org.eclipse.wst.sse.ui.toggle.comment"
430 tooltip="%ToggleComment_tooltip"
431 class="org.eclipse.wst.xml.ui.internal.actions.ToggleCommentActionXMLDelegate"
432 actionID="ToggleComment">
433 </action>
434 <action
435 id="AddBlockComment"
436 label="%AddBlockComment_label"
437 definitionId="org.eclipse.wst.sse.ui.add.block.comment"
438 tooltip="%AddBlockComment_tooltip"
439 class="org.eclipse.wst.xml.ui.internal.actions.AddBlockCommentActionXMLDelegate"
440 actionID="AddBlockComment">
441 </action>
442 <action
443 id="RemoveBlockComment"
444 label="%RemoveBlockComment_label"
445 definitionId="org.eclipse.wst.sse.ui.remove.block.comment"
446 tooltip="%RemoveBlockComment_tooltip"
447 class="org.eclipse.wst.xml.ui.internal.actions.RemoveBlockCommentActionXMLDelegate"
448 actionID="RemoveBlockComment">
449 </action>
450 <action
451 id="FindOccurrences"
452 label="%FindOccurrences_label"
453 definitionId="org.eclipse.wst.sse.ui.search.find.occurrences"
454 class="org.eclipse.wst.html.ui.internal.search.HTMLFindOccurrencesActionDelegate"
455 actionID="FindOccurrences">
456 </action>
457 <action
458 id="StructureSelectEnclosing"
459 label="%StructureSelectEnclosing_label"
460 definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing"
461 tooltip="%StructureSelectEnclosing_tooltip"
462 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectEnclosingXMLActionDelegate"
463 actionID="StructureSelectEnclosing">
464 </action>
465 <action
466 id="StructureSelectNext"
467 label="%StructureSelectNext_label"
468 definitionId="org.eclipse.wst.sse.ui.structure.select.next"
469 tooltip="%StructureSelectNext_tooltip"
470 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectNextXMLActionDelegate"
471 actionID="StructureSelectNext">
472 </action>
473 <action
474 id="StructureSelectPrevious"
475 label="%StructureSelectPrevious_label"
476 definitionId="org.eclipse.wst.sse.ui.structure.select.previous"
477 tooltip="%StructureSelectPrevious_tooltip"
478 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectPreviousXMLActionDelegate"
479 actionID="StructureSelectPrevious">
480 </action>
481 <action
482 id="StructureSelectHistory"
483 label="%StructureSelectHistory_label"
484 definitionId="org.eclipse.wst.sse.ui.structure.select.last"
485 tooltip="%StructureSelectHistory_tooltip"
486 class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate"
487 actionID="StructureSelectHistory">
488 </action>
amywu81706092008-04-03 06:45:06 +0000489 </editorContribution>-->
nitind6d98c7b2005-10-07 21:17:31 +0000490 <editorContribution
491 targetID="org.eclipse.wst.html.core.htmlsource.source"
492 id="org.eclipse.wst.html.core.htmlsource.ruler.actions">
493 <action
amywu34aa9802005-12-06 23:33:16 +0000494 label="%AddBookmark.label"
nitind6d98c7b2005-10-07 21:17:31 +0000495 helpContextId="org.eclipse.ui.bookmark_action_context"
496 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
497 actionID="RulerDoubleClick"
498 id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
499 <action
amywu34aa9802005-12-06 23:33:16 +0000500 label="%SelectRuler.label"
nitind6d98c7b2005-10-07 21:17:31 +0000501 class="org.eclipse.ui.texteditor.SelectRulerAction"
502 actionID="RulerClick"
503 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
504 </editorContribution>
nitind102e60a2005-09-15 12:42:42 +0000505 </extension>
amywu81706092008-04-03 06:45:06 +0000506
507 <extension
508 point="org.eclipse.ui.handlers">
509 <handler
510 class="org.eclipse.wst.html.ui.internal.edit.ui.CleanupDocumentHandler"
511 commandId="org.eclipse.wst.sse.ui.cleanup.document">
512 <activeWhen>
513 <reference
514 definitionId="org.eclipse.wst.html.ui.htmlSourceContributions.definition">
515 </reference>
516 </activeWhen>
517 <enabledWhen>
518 <reference
519 definitionId="org.eclipse.wst.html.ui.htmlSourceContributions.definition">
520 </reference>
521 </enabledWhen>
522 </handler>
523 <handler
524 class="org.eclipse.wst.html.ui.internal.handlers.HTMLFindOccurrencesHandler"
525 commandId="org.eclipse.wst.sse.ui.search.find.occurrences">
526 <activeWhen>
527 <reference
528 definitionId="org.eclipse.wst.html.ui.occurrences">
529 </reference>
530 </activeWhen>
531 <enabledWhen>
532 <reference
533 definitionId="org.eclipse.wst.html.ui.occurrences">
534 </reference>
535 </enabledWhen>
536 </handler>
537
538 </extension>
539
amywu547e8e12007-03-14 20:16:31 +0000540 <extension
541 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
542 <target
543 id="org.eclipse.wst.html.core.htmlsource"
544 name="%HTML_Source_target_name">
545 </target>
546 </extension>
amywu81706092008-04-03 06:45:06 +0000547
548 <extension point="org.eclipse.core.expressions.definitions">
549 <definition id="org.eclipse.wst.html.ui.htmlSourceContributions.definition">
550 <with variable="activeContexts">
551 <iterate operator="or">
552 <equals value="org.eclipse.wst.html.core.htmlsource"/>
553 </iterate>
554 </with>
555 </definition>
556 </extension>
557
558 <extension point="org.eclipse.core.expressions.definitions">
559 <definition id="org.eclipse.wst.html.ui.occurrences">
560 <with variable="activeContexts">
561 <iterate operator="or">
562 <equals value="org.eclipse.wst.html.occurrences"/>
563 </iterate>
564 </with>
565 </definition>
566 </extension>
amywua46ee322008-04-24 02:05:28 +0000567
568 <!-- Enable the FormatHandler for HTML Content Type -->
569 <extension point="org.eclipse.ui.handlers">
570 <handler
571 class="org.eclipse.wst.sse.ui.internal.handlers.FormatHandler"
572 commandId="org.eclipse.wst.sse.ui.format">
573 <activeWhen>
574 <reference definitionId="org.eclipse.wst.html.ui.htmlContentType.definition"></reference>
575 </activeWhen>
576 <enabledWhen>
577 <reference definitionId="org.eclipse.wst.html.ui.htmlContentType.definition"></reference>
578 </enabledWhen>
579 </handler>
580 </extension>
581
582 <!-- Set up a definition for HTML Content Types -->
583 <extension point="org.eclipse.core.expressions.definitions">
584 <definition id="org.eclipse.wst.html.ui.htmlContentType.definition">
585 <iterate ifEmpty="false">
586 <adapt type="org.eclipse.core.resources.IFile">
587 <test property="org.eclipse.wst.sse.core.resources.contentTypeId"
588 value="org.eclipse.wst.html.core.htmlsource"/>
589 </adapt>
590 </iterate>
591 </definition>
592 </extension>
593
nitind958d79a2004-11-23 19:23:00 +0000594</plugin>