| <?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> |
| </plugin> |