blob: 3d04b15e6139ab71a66d4b50f9f077cb3215c9a2 [file] [log] [blame]
david_williams88e9b512007-11-21 01:52:09 +00001<?xml version="1.0" encoding="UTF-8"?>
dacarver14b2ca72008-02-03 17:35:59 +00002<?eclipse version="3.4"?>
david_williams88e9b512007-11-21 01:52:09 +00003<plugin>
dacarver5bfab6d2009-09-25 16:21:44 +00004 <extension-point id="contentAssistProcessor" name="%XSLContentAssistExtension" schema="/schema/contentAssistProcessor.exsd"/>
dsatchwelacf2b9e2008-04-10 14:43:39 +00005
dsatchwelacf2b9e2008-04-10 14:43:39 +00006 <extension point="org.eclipse.ui.editors">
dacarver4266ad82008-09-04 02:21:35 +00007 <editor name="%editorName"
dacarverc948f822008-10-07 23:18:13 +00008 icon="$nl$/icons/full/xslt_file.gif"
dsatchwel5fb56732008-09-13 20:01:49 +00009 contributorClass="org.eclipse.wst.xml.ui.internal.tabletree.SourcePageActionContributor"
10 class="org.eclipse.wst.xsl.ui.internal.editor.XSLEditor"
dsatchwelb69423d2008-04-15 14:30:11 +000011 default="true"
12 extensions="xsl,xslt"
dsatchwelacf2b9e2008-04-10 14:43:39 +000013 id="org.eclipse.wst.xsl.ui.XSLEditor">
14 <contentTypeBinding contentTypeId="org.eclipse.wst.xml.core.xslsource" />
15 </editor>
16 </extension>
17
18 <!-- Editor actionsets -->
19 <extension point="org.eclipse.ui.actionSetPartAssociations">
20 <actionSetPartAssociation
21 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
22 <part id="org.eclipse.wst.xsl.ui.XSLEditor" />
23 </actionSetPartAssociation>
24 <actionSetPartAssociation targetID="org.eclipse.ui.NavigateActionSet">
25 <part id="org.eclipse.wst.xsl.ui.XSLEditor" />
26 </actionSetPartAssociation>
27 </extension>
28
29 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
30 <sourceViewerConfiguration
31 class="org.eclipse.wst.xsl.ui.internal.StructuredTextViewerConfigurationXSL"
32 target="org.eclipse.wst.xml.core.xslsource">
33 </sourceViewerConfiguration>
dacarverd81e2792009-10-12 17:47:00 +000034 <contentOutlineConfiguration
35 class="org.eclipse.wst.xsl.ui.internal.contentoutline.XSLContentOutlineConfiguration"
36 target="org.eclipse.wst.xml.core.xslsource">
37 </contentOutlineConfiguration>
dacarver4fad6a32010-03-28 22:33:11 +000038 <quickOutlineConfiguration
39 class="org.eclipse.wst.xml.ui.internal.quickoutline.XMLQuickOutlineConfiguration"
40 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xmlsource, org.eclipse.wst.core.xslsource" />
dacarver52e048b2008-05-29 02:32:00 +000041 <doubleClickStrategy
42 class="org.eclipse.wst.xsl.ui.internal.doubleclick.XSLDoubleClickStrategy"
43 target="org.eclipse.wst.xsl.XSL_XPATH">
44 </doubleClickStrategy>
45 <provisionalDefinition
46 type="activecontexts"
47 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"
48 target="org.eclipse.core.runtime.xml" />
dacarver4e4da812008-06-28 16:56:14 +000049 <provisionalDefinition
50 type="preferencepages"
51 value="org.eclipse.wst.xsl.ui.preferences.BasePreferencePage, org.eclipse.wst.xsl.ui.template.preferencePage, org.eclipse.wst.xsl.ui.preferences.Validation, org.eclipse.wst.xml.xpath.ui.XPathPreferencePage, org.eclipse.wst.xsl.ui.XPath"
52 target="org.eclipse.wst.xml.core.xslsource"/>
dsatchwelacf2b9e2008-04-10 14:43:39 +000053 </extension>
54
55 <extension point="org.eclipse.ui.newWizards">
56 <wizard category="org.eclipse.wst.XMLCategory"
57 class="org.eclipse.wst.xsl.ui.internal.wizards.NewXSLFileWizard"
58 finalPerspective="org.eclipse.wst.xsl.ui.perspective"
dacarverc948f822008-10-07 23:18:13 +000059 icon="$nl$/icons/full/xslt_file.gif"
dsatchwelacf2b9e2008-04-10 14:43:39 +000060 id="org.eclipse.wst.xsl.ui.internal.wizards.NewStylesheetWizard"
dacarver4266ad82008-09-04 02:21:35 +000061 name="%wizardNameXSL"
dsatchwelacf2b9e2008-04-10 14:43:39 +000062 preferredPerspectives="org.eclipse.wst.xsl.ui.perspective">
dacarver4266ad82008-09-04 02:21:35 +000063 <description>%wizardDescriptionXSL</description>
dsatchwelacf2b9e2008-04-10 14:43:39 +000064 <selection class="org.eclipse.core.resources.IResource">
65 </selection>
66 </wizard>
67 </extension>
68
69 <!-- XSL templates -->
70 <extension point="org.eclipse.ui.editors.templates">
71 <contextType
72 class="org.eclipse.wst.xsl.ui.internal.templates.TemplateContextTypeXSL"
dacarver4266ad82008-09-04 02:21:35 +000073 id="xsl_new" name="%contextTypeNewXSL">
dsatchwelacf2b9e2008-04-10 14:43:39 +000074 </contextType>
dacarver838a6ab2010-02-16 01:54:04 +000075 <contextType
76 class="org.eclipse.wst.xsl.ui.internal.templates.TemplateContextTypeXSL"
77 id="xsl_tag" name="%contextTypeXSLTag">
78 </contextType>
79 <contextType
80 class="org.eclipse.wst.xsl.ui.internal.templates.TemplateContextTypeXSL"
81 id="xsl_attr" name="%contextTypeXSLAttr">
82 </contextType>
83
dsatchwelacf2b9e2008-04-10 14:43:39 +000084 <include file="templates/file_templates.xml" />
85 </extension>
86
nitindda7c1332009-04-20 22:09:31 +000087 <extension point="org.eclipse.ui.perspectiveExtensions">
88 <perspectiveExtension targetID="org.eclipse.wst.xml.ui.perspective">
89 <newWizardShortcut id="org.eclipse.wst.xsl.ui.internal.wizards.NewStylesheetWizard"/>
90 </perspectiveExtension>
91 </extension>
dsatchwelacf2b9e2008-04-10 14:43:39 +000092
93 <extension point="org.eclipse.ui.preferencePages">
94 <page category="org.eclipse.wst.xml.ui.preferences.xml"
95 class="org.eclipse.wst.xsl.ui.internal.preferences.MainPreferencePage"
96 id="org.eclipse.wst.xsl.ui.preferences.BasePreferencePage"
97 name="%page.name.0" />
98 <page category="org.eclipse.wst.xsl.ui.preferences.BasePreferencePage"
99 class="org.eclipse.wst.xsl.ui.internal.preferences.XSLTemplatePreferencePage"
100 id="org.eclipse.wst.xsl.ui.template.preferencePage"
dacarver4266ad82008-09-04 02:21:35 +0000101 name="%pageNameTemplates">
dsatchwelacf2b9e2008-04-10 14:43:39 +0000102 </page>
dacarver7594d7d2008-05-09 01:00:27 +0000103
dsatchwelacf2b9e2008-04-10 14:43:39 +0000104 <page category="org.eclipse.wst.xsl.ui.preferences.BasePreferencePage"
dacarver98010252008-10-09 19:21:59 +0000105 class="org.eclipse.wst.xsl.ui.internal.preferences.XSLValidationPreferencePage"
dsatchwelacf2b9e2008-04-10 14:43:39 +0000106 id="org.eclipse.wst.xsl.ui.preferences.Validation"
dacarver4266ad82008-09-04 02:21:35 +0000107 name="%pageNameValidation">
dsatchwelacf2b9e2008-04-10 14:43:39 +0000108 </page>
dacarver9de09cc2008-10-03 18:23:35 +0000109 <page category="org.eclipse.wst.xsl.ui.preferences.BasePreferencePage"
110 class="org.eclipse.wst.xsl.ui.internal.preferences.XSLSyntaxColoringPage"
111 id="org.eclipse.wst.xsl.ui.preferences.SyntaxColoring"
112 name="%pageSyntaxColoring"/>
dsatchwelacf2b9e2008-04-10 14:43:39 +0000113 </extension>
114
115 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
116 <validator scope="total"
dsatchwel25db8a42008-03-10 14:10:29 +0000117 class="org.eclipse.wst.xsl.ui.internal.validation.DelegatingSourceValidatorForXSL"
118 id="org.eclipse.wst.xsl.ui.internal.validation.DelegatingSourceValidatorForXSL">
dsatchwelacf2b9e2008-04-10 14:43:39 +0000119 <contentTypeIdentifier id="org.eclipse.wst.xml.core.xslsource">
dsatchwele4a4d372008-06-27 18:17:42 +0000120 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/>
121 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/>
122 <partitionType id="org.eclipse.wst.xsl.XSL_XPATH"/>
dsatchwel25db8a42008-03-10 14:10:29 +0000123 </contentTypeIdentifier>
124 </validator>
dsatchwelacf2b9e2008-04-10 14:43:39 +0000125 </extension>
126
127 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
128 <validator scope="partial"
dacarver54bae8a2008-03-20 17:57:24 +0000129 class="org.eclipse.wst.xsl.ui.internal.validation.XSLMarkupValidator"
130 id="org.eclipse.wst.xsl.ui.internal.validator.markupvalidator">
131 <contentTypeIdentifier id="org.eclipse.wst.xml.core.xslsource">
dsatchwelacf2b9e2008-04-10 14:43:39 +0000132 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT" />
133 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT" />
dsatchwele4a4d372008-06-27 18:17:42 +0000134 <partitionType id="org.eclipse.wst.xsl.XSL_XPATH" />
dacarver54bae8a2008-03-20 17:57:24 +0000135 </contentTypeIdentifier>
136 </validator>
137 </extension>
dacarver2840d7d2008-03-27 01:09:03 +0000138
dsatchwel8ccc04b2008-05-01 15:32:38 +0000139 <extension
dsatchwel8ccc04b2008-05-01 15:32:38 +0000140 point="org.eclipse.ui.handlers">
141 <handler
dacarver53c90812008-05-03 00:25:49 +0000142 class="org.eclipse.wst.xsl.ui.internal.handlers.OpenDeclarationHandler"
143 commandId="org.eclipse.wst.sse.ui.open.file.from.source">
dsatchwel8ccc04b2008-05-01 15:32:38 +0000144 </handler>
145 </extension>
146 <extension
147 point="org.eclipse.ui.menus">
148 <menuContribution
dacarver53c90812008-05-03 00:25:49 +0000149 locationURI="popup:org.eclipse.wst.sse.ui.StructuredTextEditor.EditorContext?before=additions">
dsatchwel8ccc04b2008-05-01 15:32:38 +0000150 <command
dacarver53c90812008-05-03 00:25:49 +0000151 commandId="org.eclipse.wst.sse.ui.open.file.from.source"
152 id="openSelection"
dacarver4266ad82008-09-04 02:21:35 +0000153 label="%commandOpenSelection"
dsatchwel8ccc04b2008-05-01 15:32:38 +0000154 style="push"
dacarver4266ad82008-09-04 02:21:35 +0000155 tooltip="%commandTooltipOpenSelection">
dsatchwel8ccc04b2008-05-01 15:32:38 +0000156 <visibleWhen
157 checkEnabled="false">
158 </visibleWhen>
159 </command>
160 </menuContribution>
161 </extension>
dsatchwel0d3d3282008-09-02 20:05:11 +0000162 <extension
163 point="org.eclipse.ui.views">
164 <view
dacarverd81e2792009-10-12 17:47:00 +0000165 category="org.eclipse.wst.xml"
166 class="org.eclipse.wst.xsl.ui.internal.views.stylesheet.StylesheetModelView"
167 icon="icons/full/hierarchy.gif"
dsatchwel0d3d3282008-09-02 20:05:11 +0000168 id="org.eclipse.wst.xsl.ui.view.outline"
dacarver4266ad82008-09-04 02:21:35 +0000169 name="%viewNameStylesheet"
dsatchwel0d3d3282008-09-02 20:05:11 +0000170 restorable="true">
171 </view>
172 </extension>
173 <extension point="org.eclipse.core.runtime.adapters">
174 <factory
dacarverd81e2792009-10-12 17:47:00 +0000175 class="org.eclipse.wst.xsl.ui.internal.views.stylesheet.XSLModelAdapterFactory"
dsatchwel0d3d3282008-09-02 20:05:11 +0000176 adaptableType="org.eclipse.wst.xsl.core.model.XSLModelObject">
177 <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
178 </factory>
179 </extension>
dacarvera14f56b2008-07-28 16:30:27 +0000180
dsatchwel5fb56732008-09-13 20:01:49 +0000181 <extension point="org.eclipse.ui.editors.annotationTypes">
182 <type
183 name="org.eclipse.wst.xsl.ui.override">
184 </type>
185 </extension>
186 <extension
187 point="org.eclipse.ui.editors.markerAnnotationSpecification">
188 <specification
189 annotationType="org.eclipse.wst.xsl.ui.override"
dacarver8f2c7d42009-01-11 23:59:10 +0000190 label="%specification.label.0"
dsatchwel5fb56732008-09-13 20:01:49 +0000191 icon="$nl$/icons/full/over_co.gif"
192 annotationImageProvider ="org.eclipse.wst.xsl.ui.internal.editor.OverrideIndicatorImageProvider"
193 textPreferenceKey="overrideIndicator"
194 textPreferenceValue="false"
195 highlightPreferenceKey="overrideIndicatorHighlighting"
196 highlightPreferenceValue="false"
197 contributesToHeader="false"
198 overviewRulerPreferenceKey="overrideIndicatorInOverviewRuler"
199 overviewRulerPreferenceValue="false"
200 verticalRulerPreferenceKey="overrideIndicatorInVerticalRuler"
201 verticalRulerPreferenceValue="true"
202 colorPreferenceKey="overrideIndicatorColor"
203 colorPreferenceValue="180,207,205"
204 presentationLayer="3"
205 showInNextPrevDropdownToolbarActionKey="showoverrideIndicatorInNextPrevDropdownToolbarAction"
206 showInNextPrevDropdownToolbarAction="false"
207 isGoToNextNavigationTargetKey="isOverrideIndicatorGoToNextNavigationTarget"
208 isGoToNextNavigationTarget="false"
209 isGoToPreviousNavigationTargetKey="isOverrideIndicatorGoToPreviousNavigationTarget"
210 isGoToPreviousNavigationTarget="false"
211 textStylePreferenceKey="overrideIndicatorTextStyle"
212 textStylePreferenceValue="SQUIGGLES">
213 </specification>
214 </extension>
dacarver9de09cc2008-10-03 18:23:35 +0000215
216 <extension point="org.eclipse.core.runtime.preferences">
217 <initializer
218 class="org.eclipse.wst.xsl.ui.internal.preferences.XSLUIPreferenceInitializer" />
219 </extension>
220
dacarver98010252008-10-09 19:21:59 +0000221 <extension point="org.eclipse.ui.propertyPages">
222 <page
223 name="%XSL_Property_validation"
224 class="org.eclipse.wst.xsl.ui.internal.preferences.XSLValidationPreferencePage"
225 id="org.eclipse.wst.xsl.ui.propertyPage.project.validation"
226 category="ValidationPropertiesPage">
dacarver0f5e5712008-10-10 16:19:31 +0000227- <enabledWhen>
dacarver98010252008-10-09 19:21:59 +0000228 <adapt type="org.eclipse.core.resources.IProject">
229
230 </adapt>
231 </enabledWhen>
232 </page>
233 </extension>
dsatchwel60795852009-02-16 22:31:56 +0000234 <extension
235 point="org.eclipse.core.runtime.preferences">
236 <initializer
237 class="org.eclipse.wst.xsl.ui.internal.PreferenceInitializer">
238 </initializer>
239 </extension>
dacarver98010252008-10-09 19:21:59 +0000240
dsatchwel42972ae2009-02-16 21:43:47 +0000241 <!-- extension
242 point="org.eclipse.wst.sse.ui.quickFixProcessor">
243 <quickFixProcessor
244 class="org.eclipse.wst.xsl.ui.internal.quickassist.OverrideQuickAssist"
245 problemType="org.eclipse.wst.xsl.ui.override">
246 </quickFixProcessor>
247 </extension -->
dacarver98010252008-10-09 19:21:59 +0000248
nitindbe679fa2009-04-21 02:56:51 +0000249 <extension point="org.eclipse.ui.menus">
nitindbf6c73d2009-04-30 07:08:04 +0000250 <menuContribution locationURI="toolbar:org.eclipse.wst.xml.ui.perspective.NewFileToolBar">
nitindbe679fa2009-04-21 02:56:51 +0000251 <command
252 commandId="org.eclipse.ui.newWizard"
253 icon="$nl$/icons/full/xslt_file.gif"
254 id="org.eclipse.wst.xsl.ui.newXSLFile"
255 style="push"
256 tooltip="%commandTooltipNewXSLFile">
257 <parameter name="newWizardId" value="org.eclipse.wst.xsl.ui.internal.wizards.NewStylesheetWizard"/>
258 <visibleWhen checkEnabled="false">
259 <with variable="activeWorkbenchWindow.activePerspective">
260 <equals value="org.eclipse.wst.xml.ui.perspective"/>
261 </with>
262 </visibleWhen>
263 </command>
nitindbe679fa2009-04-21 02:56:51 +0000264 </menuContribution>
265 </extension>
266
nitind2a631032010-04-28 22:29:45 +0000267 <extension point="org.eclipse.ui.navigator.navigatorContent" >
268 <commonWizard type="new" wizardId="org.eclipse.wst.xsl.ui.internal.wizards.NewStylesheetWizard" menuGroupId="org.eclipse.wst.xml.new.menuGroup">
nitindbe679fa2009-04-21 02:56:51 +0000269 <enablement>
nitind2a631032010-04-28 22:29:45 +0000270 <instanceof value="org.eclipse.core.resources.IResource"/>
271 <with variable="activeWorkbenchWindow.activePerspective">
272 <equals value="org.eclipse.wst.xml.ui.perspective"/>
273 </with>
nitindbe679fa2009-04-21 02:56:51 +0000274 </enablement>
275 </commonWizard>
276 </extension>
dacarver5bfab6d2009-09-25 16:21:44 +0000277 <extension
278 point="org.eclipse.wst.xsl.ui.contentAssistProcessor">
279 <processor
dacarver838a6ab2010-02-16 01:54:04 +0000280 class="org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor"/>
dacarver5bfab6d2009-09-25 16:21:44 +0000281 <processor
dacarver838a6ab2010-02-16 01:54:04 +0000282 class="org.eclipse.wst.xsl.ui.internal.contentassist.XSLTemplateContentAssistProcessor"/>
283 <processor
284 class="org.eclipse.wst.xsl.ui.internal.contentassist.XSLContentAssistProcessor"/>
dacarver5bfab6d2009-09-25 16:21:44 +0000285 </extension>
dacarverb08520f2009-10-11 00:09:17 +0000286 <extension
287 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
288 <adapterFactoryDescription
289 class="org.eclipse.wst.xsl.ui.internal.registry.AdapterFactoryProviderForXSL">
290 <contentType id="org.eclipse.wst.xml.core.xslsource" />
291 </adapterFactoryDescription>
292 </extension>
dacarver8c0fd6e2010-03-24 19:28:19 +0000293 <extension
294 point="org.eclipse.wst.sse.ui.semanticHighlighting">
295 <highlighting
296 class="org.eclipse.wst.xsl.ui.internal.style.XSLTagNameSemanticHighlighting"
297 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xslsource"
298 styleStringKey="xsltagName">
299 </highlighting>
300 </extension>
301 <extension
302 point="org.eclipse.wst.sse.ui.semanticHighlighting">
303 <highlighting
304 class="org.eclipse.wst.xsl.ui.internal.style.XSLAttrNameSemanticHighlighting"
305 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xslsource"
306 styleStringKey="xsltagAttributeName">
307 </highlighting>
308 </extension>
309<extension
310 point="org.eclipse.wst.sse.ui.semanticHighlighting">
311 <highlighting
312 class="org.eclipse.wst.xsl.ui.internal.style.XSLAttrValueSemanticHighlighting"
313 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xslsource"
314 styleStringKey="xsltagAttributeValue">
315 </highlighting>
316 </extension>
317 <extension
318 point="org.eclipse.wst.sse.ui.semanticHighlighting">
319 <highlighting
320 class="org.eclipse.wst.xsl.ui.internal.style.XSLTagDelimsSemanticHighlighting"
321 target="org.eclipse.core.runtime.xml, org.eclipse.wst.xml.core.xslsource"
322 styleStringKey="xsltagBorder">
323 </highlighting>
324 </extension>
dacarver5bfab6d2009-09-25 16:21:44 +0000325
dacarver7ae16dc2008-04-12 13:49:23 +0000326</plugin>