blob: 4ac53c3b2b6f19c64d1fdcc256e71ef7be9e8a42 [file] [log] [blame]
nitind958d79a2004-11-23 19:23:00 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3<plugin
4 id="org.eclipse.wst.html.ui"
nitind23739892004-12-06 05:51:11 +00005 name="%pluginName"
nitind958d79a2004-11-23 19:23:00 +00006 version="1.0.0"
nitind23739892004-12-06 05:51:11 +00007 provider-name="%providerName"
david_williams425ffe72004-12-07 21:46:39 +00008 class="org.eclipse.wst.html.ui.internal.HTMLUIPlugin">
nitind958d79a2004-11-23 19:23:00 +00009
10 <runtime>
11 <library name="htmleditor.jar">
12 <export name="*"/>
13 </library>
14 </runtime>
15 <requires>
nitind958d79a2004-11-23 19:23:00 +000016 <import plugin="org.eclipse.ui.ide"/>
17 <import plugin="org.eclipse.ui.views"/>
18 <import plugin="org.eclipse.jface.text"/>
19 <import plugin="org.eclipse.ui.workbench.texteditor"/>
20 <import plugin="org.eclipse.ui.editors"/>
21 <import plugin="org.eclipse.ui"/>
22 <import plugin="org.eclipse.wst.sse.ui"/>
23 <import plugin="org.eclipse.wst.xml.ui"/>
24 <import plugin="org.eclipse.wst.css.ui"/>
25 <import plugin="org.eclipse.wst.sse.core"/>
26 <import plugin="org.eclipse.wst.css.core"/>
27 <import plugin="org.eclipse.wst.html.core"/>
nitind958d79a2004-11-23 19:23:00 +000028 <import plugin="org.eclipse.wst.xml.core"/>
nitind958d79a2004-11-23 19:23:00 +000029 <import plugin="org.eclipse.core.resources"/>
30 <import plugin="org.eclipse.core.runtime"/>
nitind958d79a2004-11-23 19:23:00 +000031 <import plugin="org.eclipse.jdt.ui"/>
nitindd4f81c02005-02-07 23:11:25 +000032 <import plugin="org.eclipse.wst.common.uriresolver"/>
paverye6107e62005-02-23 18:01:10 +000033 <import plugin="org.eclipse.wst.validation"/>
david_williams516aa792005-03-19 02:35:18 +000034 <import plugin="org.eclipse.wst.javascript.ui"/>
nitind958d79a2004-11-23 19:23:00 +000035 </requires>
36
37
nitind23739892004-12-06 05:51:11 +000038 <extension-point id="deviceProfileEntryProvider" name="%Device_Profile_Entry_Provider_Extension.name"/>
nitind958d79a2004-11-23 19:23:00 +000039
40 <extension
41 point="org.eclipse.ui.editors">
42 <editor
43 name="%HTML_Source_Page_Editor.name"
44 icon="icons/sourceEditor.gif"
45 extensions="html, htm, xhtml, jhtml, shtml, shtm, html-ss, wml"
46 contributorClass="org.eclipse.wst.html.ui.edit.ui.ActionContributorHTML"
47 class="org.eclipse.wst.html.ui.StructuredTextEditorHTML"
48 symbolicFontName="org.eclipse.wst.sse.ui.textfont"
49 id="org.eclipse.wst.html.ui.StructuredTextEditorHTML">
50 </editor>
51 </extension>
52 <extension
53 point="org.eclipse.wst.sse.ui.extendedconfiguration">
nitind4039c302004-12-28 19:58:41 +000054 <configuration
55 type="textviewerconfiguration"
nitind958d79a2004-11-23 19:23:00 +000056 class="org.eclipse.wst.html.ui.StructuredTextViewerConfigurationHTML"
nitind4039c302004-12-28 19:58:41 +000057 target="org.eclipse.wst.html.core.htmlsource"/>
58 <configuration
59 type="contentoutlineconfiguration"
nitind958d79a2004-11-23 19:23:00 +000060 class="org.eclipse.wst.html.ui.views.contentoutline.HTMLContentOutlineConfiguration"
nitind4039c302004-12-28 19:58:41 +000061 target="org.eclipse.wst.html.core.htmlsource"/>
62 <configuration
63 type="propertysheetconfiguration"
nitind958d79a2004-11-23 19:23:00 +000064 class="org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration"
nitind4039c302004-12-28 19:58:41 +000065 target="org.eclipse.wst.html.core.htmlsource"/>
66 <configuration
67 type="spellchecktarget"
nitind958d79a2004-11-23 19:23:00 +000068 class="org.eclipse.wst.xml.ui.XMLSpellCheckTarget"
nitind4039c302004-12-28 19:58:41 +000069 target="org.eclipse.wst.html.core.htmlsource"/>
70 <configuration
71 type="sourceeditingtexttools"
nitind958d79a2004-11-23 19:23:00 +000072 class="org.eclipse.wst.xml.ui.extensions.XMLSourceEditingTextTools"
nitind4039c302004-12-28 19:58:41 +000073 target="org.eclipse.wst.html.core.htmlsource"/>
74 <configuration
75 type="characterpairmatcher"
nitind958d79a2004-11-23 19:23:00 +000076 class="org.eclipse.wst.html.ui.text.HTMLDocumentRegionEdgeMatcher"
nitind4039c302004-12-28 19:58:41 +000077 target="org.eclipse.wst.html.core.htmlsource"/>
david_williamsb1f75052005-02-18 00:25:37 +000078 <configuration
79 type="structuredtextfoldingprovider"
80 class="org.eclipse.wst.html.ui.internal.projection.StructuredTextFoldingProviderHTML"
81 target="org.eclipse.wst.html.core.htmlsource"/>
nitind4039c302004-12-28 19:58:41 +000082 <definition
83 type="preferencepages"
nitindc9c4f6e2005-01-26 05:42:56 +000084 value="org.eclipse.wst.html.ui.preferences"
85 target="org.eclipse.wst.html.core.htmlsource"/>
86 <definition
87 type="preferencepages"
88 value="org.eclipse.wst.html.ui.preferences.source"
89 target="org.eclipse.wst.html.core.htmlsource"/>
90 <definition
91 type="preferencepages"
92 value="org.eclipse.wst.html.ui.preferences.templates"
93 target="org.eclipse.wst.html.core.htmlsource"/>
94 <definition
95 type="preferencepages"
96 value="org.eclipse.wst.html.ui.preferences.styles"
nitind4039c302004-12-28 19:58:41 +000097 target="org.eclipse.wst.html.core.htmlsource"/>
nitind958d79a2004-11-23 19:23:00 +000098 </extension>
99 <extension
100 point="org.eclipse.core.filebuffers.annotationModelCreation">
101 <factory
102 contentTypeId="org.eclipse.wst.html.core.htmlsource"
103 class="org.eclipse.wst.sse.ui.StructuredResourceMarkerAnnotationModelFactory"/>
104 </extension>
105 <extension
106 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
107 <adapterFactoryDescription
108 class="org.eclipse.wst.html.ui.registry.AdapterFactoryProviderForHTML">
109 <contentType id="org.eclipse.wst.html.core.htmlsource"/>
110 </adapterFactoryDescription>
111 </extension>
112 <extension
113 point="org.eclipse.wst.sse.ui.embeddedAdapterFactoryProvider">
114 <embeddedAdapterFactoryProvider
115 class="org.eclipse.wst.html.ui.registry.AdapterFactoryProviderForEmbeddedHTML">
116 </embeddedAdapterFactoryProvider>
117 </extension>
118 <extension
119 point="org.eclipse.ui.preferencePages">
120<!-- HTML PREFERENCE PAGES-->
121 <page
122 name="%HTML_Files.name"
123 category="org.eclipse.wst.sse.ui.preferences"
124 class="org.eclipse.wst.html.ui.preferences.ui.HTMLFilesPreferencePage"
125 id="org.eclipse.wst.html.ui.preferences">
126 </page>
127 <page
128 name="%HTML_Source.name"
129 category="org.eclipse.wst.html.ui.preferences"
130 class="org.eclipse.wst.html.ui.preferences.ui.HTMLSourcePreferencePage"
131 id="org.eclipse.wst.html.ui.preferences.source">
132 </page>
133 <page
134 name="%HTML_Templates.name"
135 category="org.eclipse.wst.html.ui.preferences"
136 class="org.eclipse.wst.html.ui.preferences.ui.HTMLTemplatePreferencePage"
137 id="org.eclipse.wst.html.ui.preferences.templates">
138 </page>
139 <page
140 name="%HTML_Styles.name"
141 category="org.eclipse.wst.html.ui.preferences"
142 class="org.eclipse.wst.html.ui.preferences.ui.HTMLColorPage"
143 id="org.eclipse.wst.html.ui.preferences.styles">
144 </page>
145 </extension>
146<!-- Web content settings -->
147 <extension
148 point="org.eclipse.ui.propertyPages">
149<!-- for j2ee web project -->
150 <page
151 objectClass="org.eclipse.core.resources.IProject"
152 adaptable="true"
153 name="%WebContentSettings.name"
154 class="org.eclipse.wst.html.ui.contentproperties.ui.ProjectContentSettingsPropertyPage"
155 id="org.eclipse.wst.html.ui.dynamicprojectpropertypage">
156 <filter
157 name="nature"
158 value="org.eclipse.wst.webproject.WebNature">
159 </filter>
160 </page>
161<!-- for static web project -->
162 <page
163 objectClass="org.eclipse.core.resources.IProject"
164 adaptable="true"
165 name="%WebContentSettings.name"
166 class="org.eclipse.wst.html.ui.contentproperties.ui.ProjectContentSettingsPropertyPage"
167 id="org.eclipse.wst.html.ui.staticprojectpropertypage">
168 <filter
169 name="nature"
170 value="org.eclipse.wst.webproject.StaticWebNature">
171 </filter>
172 </page>
173 <page
174 objectClass="org.eclipse.core.resources.IFile"
175 adaptable="true"
176 name="%WebContentSettings.name"
177 nameFilter="*.htm*"
178 class="org.eclipse.wst.html.ui.contentproperties.ui.HTMLContentSettingsPropertyPage"
179 id="org.eclipse.wst.html.ui.htmlpropertypage">
180 </page>
181 <page
182 objectClass="org.eclipse.core.resources.IFile"
183 adaptable="true"
184 name="%WebContentSettings.name"
185 nameFilter="*.shtml"
186 class="org.eclipse.wst.html.ui.contentproperties.ui.HTMLContentSettingsPropertyPage"
187 id="org.eclipse.wst.html.ui.htmlpropertypage">
188 </page>
189 <page
190 objectClass="org.eclipse.core.resources.IFile"
191 adaptable="true"
192 name="%WebContentSettings.name"
193 nameFilter="*.xhtml"
194 class="org.eclipse.wst.html.ui.contentproperties.ui.HTMLContentSettingsPropertyPage"
195 id="org.eclipse.wst.html.ui.htmlpropertypage">
196 </page>
197 <page
198 objectClass="org.eclipse.core.resources.IFile"
199 adaptable="true"
200 name="%WebContentSettings.name"
201 nameFilter="*.jhtml"
202 class="org.eclipse.wst.html.ui.contentproperties.ui.HTMLContentSettingsPropertyPage"
203 id="org.eclipse.wst.html.ui.htmlpropertypage">
204 </page>
205 <page
206 objectClass="org.eclipse.core.resources.IFile"
207 adaptable="true"
208 name="%WebContentSettings.name"
209 nameFilter="*.jsp"
210 class="org.eclipse.wst.html.ui.contentproperties.ui.HTMLContentSettingsPropertyPage"
211 id="org.eclipse.wst.html.ui.htmlpropertypage">
212 </page>
213 <page
214 objectClass="org.eclipse.core.resources.IFile"
215 adaptable="true"
216 name="%WebContentSettings.name"
217 nameFilter="*.jspf"
218 class="org.eclipse.wst.html.ui.contentproperties.ui.HTMLContentSettingsPropertyPage"
219 id="org.eclipse.wst.html.ui.htmlpropertypage">
220 </page>
221 <page
222 objectClass="org.eclipse.core.resources.IFile"
223 adaptable="true"
224 name="%WebContentSettings.name"
225 nameFilter="*.jsf"
226 class="org.eclipse.wst.html.ui.contentproperties.ui.HTMLContentSettingsPropertyPage"
227 id="org.eclipse.wst.html.ui.htmlpropertypage">
228 </page>
229 <page
230 objectClass="org.eclipse.core.resources.IFile"
231 adaptable="true"
232 name="%WebContentSettings.name"
233 nameFilter="*.wml"
234 class="org.eclipse.wst.html.ui.contentproperties.ui.HTMLContentSettingsPropertyPage"
235 id="org.eclipse.wst.html.ui.htmlpropertypage">
236 </page>
237 </extension>
238<!-- Editor actionsets -->
239 <extension
240 point="org.eclipse.ui.actionSetPartAssociations">
241 <actionSetPartAssociation
242 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
243 <part
244 id="org.eclipse.wst.html.ui.StructuredTextEditorHTML">
245 </part>
246 </actionSetPartAssociation>
247 <actionSetPartAssociation
248 targetID="org.eclipse.ui.NavigateActionSet">
249 <part
250 id="org.eclipse.wst.html.ui.StructuredTextEditorHTML">
251 </part>
252 </actionSetPartAssociation>
253 </extension>
nitindd4f81c02005-02-07 23:11:25 +0000254
nitind958d79a2004-11-23 19:23:00 +0000255<!-- Templates -->
256 <extension
257 point="org.eclipse.ui.editors.templates">
258 <contextType
nitind23739892004-12-06 05:51:11 +0000259 name="%All_HTML_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000260 class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML"
nitind958d79a2004-11-23 19:23:00 +0000261 id="html_all">
262 </contextType>
263 <contextType
david_williams4da6ac012005-03-15 02:43:58 +0000264 name="%HTML_New_context_type_Extension_Element.name"
265 class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML"
266 id="html_new">
267 </contextType>
268 <contextType
nitind23739892004-12-06 05:51:11 +0000269 name="%HTML_Tag_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000270 class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML"
nitind958d79a2004-11-23 19:23:00 +0000271 id="html_tag">
272 </contextType>
273 <contextType
nitind23739892004-12-06 05:51:11 +0000274 name="%HTML_Attribute_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000275 class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML"
nitind958d79a2004-11-23 19:23:00 +0000276 id="html_attribute">
277 </contextType>
278 <contextType
nitind23739892004-12-06 05:51:11 +0000279 name="%HTML_Attribute_value_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000280 class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML"
nitind958d79a2004-11-23 19:23:00 +0000281 id="html_attribute_value">
282 </contextType>
283 <include
284 file="templates/htmldefault-templates.xml"
285 translations="templates/htmldefault-templates.properties">
286 </include>
287 </extension>
nitind410b6c22005-01-25 15:57:22 +0000288 <!-- initialize html ui preferences -->
289 <extension point="org.eclipse.core.runtime.preferences">
290 <initializer class="org.eclipse.wst.html.ui.internal.preferences.HTMLUIPreferenceInitializer"/>
291 </extension>
nitindd4f81c02005-02-07 23:11:25 +0000292
293 <!--======================================================================================-->
294 <!-- Document provider for ExternalFileEditorInput -->
295 <!--======================================================================================-->
296 <extension point="org.eclipse.ui.editors.documentProviders">
297 <provider
298 inputTypes="org.eclipse.wst.html.ui.internal.hyperlink.ExternalFileEditorInput"
299 class="org.eclipse.ui.editors.text.TextFileDocumentProvider"
300 id="org.eclipse.wst.html.ui.internal.ExternalFileDocumentProvider">
301 </provider>
302 </extension>
paverye6107e62005-02-23 18:01:10 +0000303
304 <!--======================================================================================-->
305 <!-- Workbench validation -->
306 <!--======================================================================================-->
307 <extension
308 id="HTMLValidator"
309 name="%HTML_Syntax_Validator.name"
310 point="org.eclipse.wst.validation.validator">
311 <validator>
312 <!--
313 <projectNature
314 id="org.eclipse.wst.web.WebNature">
315 </projectNature>
316 <projectNature
317 id="org.eclipse.wst.web.StaticWebNature">
318 </projectNature>
319 -->
320 <filter
321 objectClass="org.eclipse.core.resources.IFile"
322 nameFilter="*.html">
323 </filter>
324 <filter
325 objectClass="org.eclipse.core.resources.IFile"
326 nameFilter="*.htm">
327 </filter>
328 <filter
329 objectClass="org.eclipse.core.resources.IFile"
330 nameFilter="*.xhtml">
331 </filter>
332 <filter
333 objectClass="org.eclipse.core.resources.IFile"
334 nameFilter="*.htpl">
335 </filter>
336 <filter
337 objectClass="org.eclipse.core.resources.IFile"
338 nameFilter="*.wml">
339 </filter>
340 <filter
341 objectClass="org.eclipse.core.resources.IFile"
342 nameFilter="*.jsp">
343 </filter>
344 <filter
345 objectClass="org.eclipse.core.resources.IFile"
346 nameFilter="*.jspf">
347 </filter>
348 <filter
349 objectClass="org.eclipse.core.resources.IFile"
350 nameFilter="*.jsf">
351 </filter>
352 <filter
353 objectClass="org.eclipse.core.resources.IFile"
354 nameFilter="*.jsv">
355 </filter>
356 <filter
357 objectClass="org.eclipse.core.resources.IFile"
358 nameFilter="*.jtpl">
359 </filter>
360 <helper
361 class="org.eclipse.wst.html.validation.HTMLValidationWorkbenchHelper">
362 </helper>
363 <run
364 enabled="false"
365 class="org.eclipse.wst.html.validation.HTMLValidator">
366 </run>
367 </validator>
368 </extension>
369
370 <!--======================================================================================-->
371 <!-- As you type validation -->
372 <!--======================================================================================-->
373
374 <extension
paveryf918eb22005-03-29 18:26:53 +0000375 point="org.eclipse.wst.sse.ui.sourcevalidation">
paverye6107e62005-02-23 18:01:10 +0000376 <validator
377 scope="total"
378 class="org.eclipse.wst.html.validation.HTMLValidator"
paveryf918eb22005-03-29 18:26:53 +0000379 id="org.eclipse.wst.html.htmlsourcevalidator">
paverye6107e62005-02-23 18:01:10 +0000380 <contentTypeIdentifier
381 id="org.eclipse.wst.html.core.htmlsource">
382 <partitionType
paveryf918eb22005-03-29 18:26:53 +0000383 id="org.eclipse.wst.html.HTML_DEFAULT">
paverye6107e62005-02-23 18:01:10 +0000384 </partitionType>
385 </contentTypeIdentifier>
386 <contentTypeIdentifier
387 id="org.eclipse.jst.jsp.core.jspsource">
388 <partitionType
paveryf918eb22005-03-29 18:26:53 +0000389 id="org.eclipse.wst.html.HTML_DEFAULT">
paverye6107e62005-02-23 18:01:10 +0000390 </partitionType>
391 </contentTypeIdentifier>
392 </validator>
393 </extension>
394
nitind65cb13d2005-03-10 23:04:22 +0000395
396 <!-- New JSP wizard -->
397 <extension point="org.eclipse.ui.newWizards">
398 <wizard id="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard"
399 name="%_UI_WIZARD_NAME"
400 class="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard"
401 category="org.eclipse.wst.web.ui"
402 icon="icons/full/ctool16/newhtml_wiz.gif">
403 <description>%_UI_WIZARD_CREATE_NEW_FILE</description>
404 <selection class="org.eclipse.core.resources.IResource" />
405 </wizard>
406 </extension>
nitind958d79a2004-11-23 19:23:00 +0000407</plugin>