blob: ae343bbcb735ec994f9b22393ebf363db8ed0921 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension point="org.eclipse.ui.editors">
<editor
name="%_UI_EDITOR_NAME"
default="true"
icon="icons/wsdl_file_obj.gif"
class="org.eclipse.wst.wsdl.ui.internal.WSDLEditor"
contributorClass="org.eclipse.wst.wsdl.ui.internal.actions.WSDLActionBarContributor"
id="org.eclipse.wst.wsdl.ui.internal.WSDLEditor">
<contentTypeBinding
contentTypeId="org.eclipse.wst.wsdl.wsdlsource" />
</editor>
</extension>
<extension-point
id="internalEditorExtensions"
name="Internal Editor Extensions"
schema="schema/internalEditorExtensions.exsd" />
<extension-point
id="extensibilityItemTreeProviders"
name="Extensibility Item Tree Providers"
schema="schema/extensibilityItemTreeProviders.exsd" />
<!-- This extension point is used to suplement WSDL 1.1 schemas in order to -->
<!-- constrain the extensiblity elements that are allowed at the 'wsdl' level -->
<extension-point
id="extensibilityElementFilter"
name="Extensiblity Element Filter"
schema="schema/extensibilityElementFilter.exsd" />
<extension-point
id="propertyDescriptorProvider"
name="Property Descriptor Provider"
schema="schema/propertyDescriptorProvider.exsd" />
<extension
point="org.eclipse.wst.wsdl.ui.extensibilityItemTreeProviders">
<extensibilityItemTreeProvider
namespace="http://schemas.xmlsoap.org/wsdl/http/"
labelProviderClass="org.eclipse.wst.wsdl.ui.internal.outline.HTTPLabelProvider">
</extensibilityItemTreeProvider>
</extension>
<extension
point="org.eclipse.wst.wsdl.ui.extensibilityItemTreeProviders">
<extensibilityItemTreeProvider
namespace="http://schemas.xmlsoap.org/wsdl/soap/"
labelProviderClass="org.eclipse.wst.wsdl.ui.internal.outline.SOAPLabelProvider">
</extensibilityItemTreeProvider>
</extension>
<extension
point="org.eclipse.wst.wsdl.ui.extensibilityElementFilter">
<extensibilityElementFilter
namespace="http://schemas.xmlsoap.org/wsdl/soap/"
class="org.eclipse.wst.wsdl.ui.internal.filter.SoapExtensiblityElementFilter">
</extensibilityElementFilter>
</extension>
<extension
point="org.eclipse.wst.wsdl.ui.extensibilityElementFilter">
<extensibilityElementFilter
namespace="http://schemas.xmlsoap.org/wsdl/http/"
class="org.eclipse.wst.wsdl.ui.internal.filter.HttpExtensiblityElementFilter">
</extensibilityElementFilter>
</extension>
<extension
point="org.eclipse.wst.wsdl.ui.extensibilityElementFilter">
<extensibilityElementFilter
namespace="http://schemas.xmlsoap.org/wsdl/mime/"
class="org.eclipse.wst.wsdl.ui.internal.filter.MimeExtensiblityElementFilter">
</extensibilityElementFilter>
</extension>
<extension
point="org.eclipse.wst.wsdl.ui.extensibilityElementFilter">
<extensibilityElementFilter
namespace="http://www.w3.org/2001/XMLSchema"
class="org.eclipse.wst.wsdl.ui.internal.filter.XSDExtensiblityElementFilter">
</extensibilityElementFilter>
</extension>
<extension point="org.eclipse.ui.newWizards">
<category
id="org.eclipse.jst.ws.ui.new"
name="%_UI_LABEL_NEW_CATEGORY_NAME_WS" />
<wizard
id="org.eclipse.wst.wsdl.ui"
name="WSDL"
class="org.eclipse.wst.wsdl.ui.internal.wizards.NewWSDLWizard"
category="org.eclipse.jst.ws.ui.new"
icon="icons/wsdl_file_obj.gif">
<description>%_UI_LABEL_CREATE_NEW_WSDL_FILE</description>
<selection class="org.eclipse.core.resources.IResource" />
</wizard>
<wizard
id="org.eclipse.wst.wsdl.ui"
name="WSDL"
class="org.eclipse.wst.wsdl.ui.internal.wizards.NewWSDLWizard"
category="org.eclipse.wst.XMLCategory"
icon="icons/wsdl_file_obj.gif">
<description>%_UI_LABEL_CREATE_NEW_WSDL_FILE</description>
<selection class="org.eclipse.core.resources.IResource" />
</wizard>
</extension>
<extension point="org.eclipse.ui.editorActions">
<editorContribution
id="org.eclipse.ui.articles.action.contribution.editor2"
targetID="org.eclipse.wst.wsdl.ui.internal.WSDLEditor">
<menu
id="WSDLEditor"
label="%_UI_EDITOR_NAME"
path="additions">
<separator name="group1" />
</menu>
<action
id="org.eclipse.wst.wsdl.ui.actions.ReloadDependenciesActionDelegate"
label="%_UI_RELOAD_DEPENDENCIES"
icon="icons/reloadgrammar.gif"
tooltip="Reload Dependencies"
menubarPath="WSDLEditor/group1"
class="org.eclipse.wst.wsdl.ui.internal.actions.ReloadDependenciesActionDelegate">
</action>
<!--
<action
id="org.eclipse.wst.wsdl.ui.internal.actions.ValidateActionDelegate"
label="%_UI_ACTION_VALIDATE_WSDL_DOCUMENT"
icon="icons/validate.gif"
tooltip="%_UI_ACTION_VALIDATE_WSDL_DOCUMENT"
menubarPath="WSDLEditor/group1"
toolbarPath="%Normal/WSDLEditor"
class="org.eclipse.wst.wsdl.ui.internal.actions.ValidateActionDelegate">
</action>
-->
</editorContribution>
<editorContribution
targetID="org.eclipse.wst.wsdl.wsdlsource.source"
id="org.eclipse.wst.wsdl.wsdlsource.ruler.actions">
<action
label="%AddBookmark.label"
helpContextId="org.eclipse.ui.bookmark_action_context"
class="org.eclipse.ui.texteditor.BookmarkRulerAction"
actionID="RulerDoubleClick"
id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
<action
label="%SelectRuler.label"
class="org.eclipse.ui.texteditor.SelectRulerAction"
actionID="RulerClick"
id="org.eclipse.ui.texteditor.SelectRulerAction"/>
</editorContribution>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<!-- place everything in "Web and XML" -->
<page
name="%_UI_WSDL_LABEL"
category="org.eclipse.wst.sse.ui.internal.provisional.preferences"
class="org.eclipse.wst.wsdl.ui.internal.util.WSDLPreferencePage"
id="org.eclipse.wst.wsdl.ui.internal.util.WSDLPreferencePage" />
</extension>
<extension point="org.eclipse.wst.sse.ui.editorConfiguration">
<!-- add preference pages to the context menu action (ID must correspond to the declared "path" above) -->
<provisionalDefinition
type="preferencepages"
value="org.eclipse.wst.wsdl.ui.internal.util.WSDLPreferencePage"
target="org.eclipse.wst.wsdl.ui.internal.WSDLEditor.source" />
<sourceViewerConfiguration
class="org.eclipse.wst.wsdl.ui.internal.StructuredTextViewerConfigurationWSDL"
target="org.eclipse.wst.wsdl.wsdlsource" />
<contentOutlineConfiguration
class="org.eclipse.wst.wsdl.ui.internal.outline.WSDLContentOutlineConfiguration"
target="org.eclipse.wst.wsdl.wsdlsource" />
</extension>
<extension
point="org.eclipse.wst.common.ui.properties.propertyContributor">
<propertyContributor
typeMapper="org.eclipse.wst.wsdl.ui.internal.properties.section.WSDLTypeMapper"
contributorId="org.eclipse.wst.wsdl.ui.internal.WSDLEditor"
sectionDescriptorProvider="org.eclipse.wst.wsdl.ui.internal.properties.section.WSDLSectionDescriptorProvider"
labelProvider="org.eclipse.wst.wsdl.ui.internal.properties.section.WSDLLabelProvider">
<propertyCategory category="general"></propertyCategory>
<propertyCategory category="namespace"></propertyCategory>
<propertyCategory category="other"></propertyCategory>
<propertyCategory category="attributes"></propertyCategory>
<propertyCategory category="enumerations">
</propertyCategory>
<propertyCategory category="documentation">
</propertyCategory>
<propertyCategory category="facets"></propertyCategory>
</propertyContributor>
</extension>
<extension
point="org.eclipse.wst.common.ui.properties.propertyTabs">
<propertyTabs
contributorId="org.eclipse.wst.wsdl.ui.internal.WSDLEditor">
<propertyTab
label="%_UI_LABEL_GENERAL"
category="general"
id="org.eclipse.wst.xmlwebservices.general">
</propertyTab>
<propertyTab
label="%_UI_LABEL_NAMESPACE"
category="namespace"
afterTab="org.eclipse.wst.xmlwebservices.general"
id="org.eclipse.wst.xmlwebservices.namespace">
</propertyTab>
<propertyTab
label="%_UI_LABEL_OTHER"
category="other"
id="org.eclipse.wst.xmlwebservices.other">
</propertyTab>
<propertyTab
label="%_UI_LABEL_ATTRIBUTES"
category="attributes"
id="org.eclipse.wst.xmlwebservices.attributes">
</propertyTab>
<propertyTab
label="%_UI_LABEL_ENUMERATIONS"
category="enumerations"
id="org.eclipse.wst.xmlwebservices.enumerations">
</propertyTab>
<propertyTab
label="%_UI_LABEL_DOCUMENTATION"
category="documentation"
id="org.eclipse.wst.xmlwebservices.documentation">
</propertyTab>
<propertyTab
label="%_UI_SECTION_ADVANCED_ATTRIBUTES"
category="facets"
id="org.eclipse.wst.xmlwebservices.facets">
</propertyTab>
</propertyTabs>
</extension>
<extension
point="org.eclipse.wst.wsdl.ui.internalEditorExtensions">
<internalEditorExtension
class="org.eclipse.wst.wsdl.ui.internal.xsd.XSDExtension" />
</extension>
<extension
point="org.eclipse.wst.wsdl.ui.extensibilityItemTreeProviders">
<extensibilityItemTreeProvider
namespace="http://www.w3.org/2001/XMLSchema"
labelProviderClass="org.eclipse.wst.wsdl.ui.internal.xsd.XSDLabelProvider">
</extensibilityItemTreeProvider>
</extension>
<!-- intialize wsdl source validator -->
<extension point="org.eclipse.wst.sse.ui.sourcevalidation">
<validator
scope="total"
class="org.eclipse.wst.wsdl.ui.internal.reconciler.DelegatingSourceValidatorForWSDL"
id="org.eclipse.wst.wsdl.ui.internal.reconciler.DelegatingSourceValidatorForWSDL">
<contentTypeIdentifier
id="org.eclipse.wst.wsdl.wsdlsource">
<partitionType id="org.eclipse.wst.xml.XML_DEFAULT">
</partitionType>
</contentTypeIdentifier>
</validator>
</extension>
<!-- this extension point is used to augment the ModelQuery to provide WSDL specific guided editing -->
<extension point="org.eclipse.wst.xml.core.modelQueryExtensions">
<modelQueryExtension
class="org.eclipse.wst.wsdl.ui.internal.text.WSDLModelQueryExtension"
contentType="org.eclipse.wst.wsdl.wsdlsource">
</modelQueryExtension>
</extension>
<!-- ====================================================== -->
<!-- Set the Validate WSDL File context menu item. This -->
<!-- menu item should be removed once the validation -->
<!-- framework is modified to create the item. -->
<!-- ====================================================== -->
<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
nameFilter="*.wsdl"
id="org.eclipse.wst.wsdl.validation.wsdlaction">
<action
label="%_UI_MENU_VALIDATE_WSDL"
class="org.eclipse.wst.wsdl.ui.internal.validation.ValidateWSDLActionDelegate"
enablesFor="1"
id="org.eclipse.wst.wsdl.ui.internal.validation.ValidateWSDLActionDelegate">
</action>
</objectContribution>
</extension>
<!-- ====================================================== -->
<!-- An extension for adding the WSDL validator to the -->
<!-- validation framework. --> -->
<!-- ====================================================== -->
<extension
id="wsdlValidator"
name="%_UI_WSDL_VALIDATOR"
point="org.eclipse.wst.validation.validator">
<validator>
<filter
objectClass="org.eclipse.core.resources.IFile"
caseSensitive="false"
nameFilter="*.wsdl">
</filter>
<helper
class="org.eclipse.wst.xml.core.internal.validation.core.Helper">
</helper>
<run
class="org.eclipse.wst.wsdl.ui.internal.validation.Validator">
</run>
</validator>
</extension>
<!-- Search participant extension that supports XMLComponentSearchPatten on WSDL resources -->
<extension
point="org.eclipse.wst.common.core.searchParticipants">
<searchParticipant
id="org.eclipse.wst.wsdl.search.WSDLSearchParticipant"
class="org.eclipse.wst.wsdl.ui.internal.search.WSDLSearchParticipant">
<enablement>
<or>
<with variable="pattern">
<instanceof value="org.eclipse.wst.xml.core.internal.search.XMLComponentSearchPattern"/>
</with>
</or>
</enablement>
<contentTypeBinding
contentTypeId="org.eclipse.wst.wsdl.wsdlsource" />
</searchParticipant>
</extension>
<!-- Refactoring CORE -->
<extension
point="org.eclipse.ltk.core.refactoring.renameParticipants">
<renameParticipant
name="WSDL Rename Particpant"
class="org.eclipse.wst.wsdl.ui.internal.refactor.WSDLComponentRenameParticipant"
id="org.eclipse.wst.wsdl.ui.refactoring.WSDLComponentRenameParticipant">
<enablement>
<or>
<with variable="element">
<instanceof value="org.eclipse.wst.wsdl.WSDLElement"/>
</with>
<with variable="element">
<instanceof value="org.eclipse.xsd.XSDNamedComponent"/>
</with>
</or>
</enablement>
</renameParticipant>
</extension>
<!-- Refactoring UI extensions -->
<extension point="org.eclipse.ui.popupMenus">
<objectContribution
id="org.eclipse.wst.wsdl.ui.refactoring.menu.objectContrib"
objectClass="org.eclipse.wst.wsdl.WSDLElement">
<action
id="org.eclipse.wst.wsdl.ui.refactoring.menu.refactorGroup.object"
enablesFor="1"
style="pulldown"
menubarPath="additions"
label="%refactoring.menu.label"
class="org.eclipse.wst.wsdl.ui.internal.refactor.actions.WSDLRefactorGroupActionDelegate">
</action>
</objectContribution>
<viewerContribution
id="org.eclipse.wst.xsd.ui.refactoring.menu.source"
targetID="org.eclipse.wst.wsdl.wsdlsource.source.EditorContext">
<action id="org.eclipse.wst.wsdl.ui.refactoring.menu.refactorGroup.source"
style="pulldown"
menubarPath="additions"
label="%refactoring.menu.label"
class="org.eclipse.wst.wsdl.ui.internal.refactor.actions.WSDLRefactorGroupActionDelegate">
</action>
</viewerContribution>
</extension>
<extension point="org.eclipse.ui.commands">
<command
name="%command.wsdl.refactor.rename.element.name"
description="%command.wsdl.refactor.rename.element.description"
categoryId="org.eclipse.ui.category.edit"
id="org.eclipse.wst.wsdl.ui.refactor.rename.element">
</command>
</extension>
</plugin>
|