sclarke | c93f7dd | 2009-09-30 20:46:39 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <?eclipse version="3.0"?>
|
| 3 | <!--
|
| 4 | Copyright (c) 2009 by SAP AG, Walldorf.
|
| 5 | All rights reserved. This program and the accompanying materials
|
| 6 | are made available under the terms of the Eclipse Public License v1.0
|
| 7 | which accompanies this distribution, and is available at
|
| 8 | http://www.eclipse.org/legal/epl-v10.html
|
| 9 |
|
| 10 | Contributors:
|
| 11 | SAP AG - initial API and implementation
|
| 12 | -->
|
| 13 |
|
| 14 | <plugin>
|
| 15 | <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
|
| 16 | <factory
|
| 17 | uri = "http:///org/eclipse/jst/ws/jaxws/dom/runtime/dom.ecore"
|
| 18 | class = "org.eclipse.jst.ws.jaxws.dom.integration.navigator.CustomDomItemProviderAdapterFactory"
|
| 19 | supportedTypes =
|
| 20 | "org.eclipse.emf.edit.provider.IEditingDomainItemProvider
|
| 21 | org.eclipse.emf.edit.provider.IStructuredItemContentProvider
|
| 22 | org.eclipse.emf.edit.provider.ITreeItemContentProvider
|
| 23 | org.eclipse.emf.edit.provider.IItemLabelProvider
|
| 24 | org.eclipse.emf.edit.provider.IItemPropertySource" />
|
| 25 | </extension>
|
| 26 |
|
| 27 | <!-- {{{ Defines integration for DOM objects to navigation tree -->
|
| 28 | <extension point="org.eclipse.ui.navigator.navigatorContent">
|
| 29 | <navigatorContent
|
| 30 | id="org.eclipse.jst.navigator.j2ee.ui.sapWS"
|
| 31 | contentProvider="org.eclipse.jst.ws.jaxws.dom.integration.navigator.DOMAdapterFactoryContentProvider"
|
| 32 | labelProvider="org.eclipse.jst.ws.jaxws.dom.integration.navigator.DOMAdapterFactoryLabelProvider"
|
| 33 | activeByDefault="true"
|
| 34 | name="%navigatorContent.name.0"
|
| 35 | priority="highest">
|
| 36 | <triggerPoints>
|
| 37 | <or>
|
| 38 | <instanceof value="org.eclipse.core.resources.IProject" />
|
| 39 | </or>
|
| 40 | </triggerPoints>
|
| 41 | <possibleChildren>
|
| 42 | <or>
|
| 43 | <instanceof value="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebService"/>
|
| 44 | <instanceof value="org.eclipse.jst.ws.jaxws.dom.runtime.api.IServiceEndpointInterface"/>
|
| 45 | <instanceof value="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebMethod"/>
|
| 46 | </or>
|
| 47 | </possibleChildren>
|
| 48 | <actionProvider
|
| 49 | class="org.eclipse.jst.ws.jaxws.dom.integration.navigator.actions.WSActionProvider"
|
| 50 | id="org.eclipse.jst.ws.jaxws.dom.integration.navigator.actions.WSActionProvider">
|
| 51 | <enablement>
|
| 52 | <or>
|
| 53 | <instanceof value="org.eclipse.jst.javaee.ejb.SessionBean"/>
|
| 54 | <instanceof value="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebService"/>
|
| 55 | <instanceof value="org.eclipse.jst.ws.jaxws.dom.runtime.api.IServiceEndpointInterface"/>
|
| 56 | <instanceof value="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebMethod"/>
|
| 57 | <instanceof value="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebParam"/>
|
| 58 | </or>
|
| 59 | </enablement>
|
| 60 | </actionProvider>
|
| 61 | </navigatorContent>
|
| 62 | </extension>
|
| 63 |
|
| 64 | <extension point="org.eclipse.ui.decorators">
|
| 65 | <decorator
|
| 66 | adaptable="true"
|
| 67 | location="BOTTOM_RIGHT"
|
| 68 | lightweight="false"
|
| 69 | label="%decorator.label.0"
|
| 70 | state="true"
|
| 71 | class="org.eclipse.jst.ws.jaxws.dom.integration.navigator.WebServiceProblemsDecorator"
|
| 72 | id="org.eclipse.jst.ws.jaxws.dom.integration.navigator.WebServiceDecorator">
|
| 73 | <enablement>
|
| 74 | <or>
|
| 75 | <objectClass name="org.eclipse.jst.ws.jaxws.dom.integration.navigator.ISEIChildList"/>
|
| 76 | <objectClass name="org.eclipse.jst.ws.jaxws.dom.integration.navigator.IWebServiceChildList"/>
|
| 77 | <objectClass name="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebServiceProject"/>
|
| 78 | <objectClass name="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebMethod"/>
|
| 79 | <objectClass name="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebParam"/>
|
| 80 | <objectClass name="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebService"/>
|
| 81 | <objectClass name="org.eclipse.jst.ws.jaxws.dom.runtime.api.IServiceEndpointInterface"/>
|
| 82 | </or>
|
| 83 | </enablement>
|
| 84 | </decorator>
|
| 85 | </extension>
|
| 86 | <!-- }}} -->
|
| 87 | <!-- {{{ Defines integration for DOM objects to properties view -->
|
| 88 | <extension point="org.eclipse.core.runtime.adapters">
|
| 89 | <factory
|
| 90 | adaptableType="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebService"
|
| 91 | class="org.eclipse.jst.ws.jaxws.dom.integration.navigator.DOMPropertyViewAdapterFactory">
|
| 92 | <adapter
|
| 93 | type="org.eclipse.ui.views.properties.IPropertySourceProvider">
|
| 94 | </adapter>
|
| 95 | </factory>
|
| 96 | <factory
|
| 97 | adaptableType="org.eclipse.jst.ws.jaxws.dom.runtime.api.IServiceEndpointInterface"
|
| 98 | class="org.eclipse.jst.ws.jaxws.dom.integration.navigator.DOMPropertyViewAdapterFactory">
|
| 99 | <adapter
|
| 100 | type="org.eclipse.ui.views.properties.IPropertySourceProvider">
|
| 101 | </adapter>
|
| 102 | </factory>
|
| 103 | <factory
|
| 104 | adaptableType="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebServiceProject"
|
| 105 | class="org.eclipse.jst.ws.jaxws.dom.integration.navigator.DOMPropertyViewAdapterFactory">
|
| 106 | <adapter
|
| 107 | type="org.eclipse.ui.views.properties.IPropertySourceProvider">
|
| 108 | </adapter>
|
| 109 | </factory>
|
| 110 | <factory
|
| 111 | adaptableType="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebMethod"
|
| 112 | class="org.eclipse.jst.ws.jaxws.dom.integration.navigator.DOMPropertyViewAdapterFactory">
|
| 113 | <adapter
|
| 114 | type="org.eclipse.ui.views.properties.IPropertySourceProvider">
|
| 115 | </adapter>
|
| 116 | </factory>
|
| 117 | <factory
|
| 118 | adaptableType="org.eclipse.jst.ws.jaxws.dom.runtime.api.IWebParam"
|
| 119 | class="org.eclipse.jst.ws.jaxws.dom.integration.navigator.DOMPropertyViewAdapterFactory">
|
| 120 | <adapter
|
| 121 | type="org.eclipse.ui.views.properties.IPropertySourceProvider">
|
| 122 | </adapter>
|
| 123 | </factory>
|
| 124 | <factory
|
| 125 | adaptableType="org.eclipse.jst.ws.jaxws.dom.ui.IDOMPropertyValue"
|
| 126 | class="org.eclipse.jst.ws.jaxws.dom.integration.navigator.DOMItemValuePropertySourceFactory">
|
| 127 | <adapter
|
| 128 | type="org.eclipse.ui.views.properties.IPropertySource">
|
| 129 | </adapter>
|
| 130 | </factory>
|
| 131 | </extension>
|
| 132 | <!-- }}} -->
|
| 133 | <!-- {{{ Defines integration for WST validation framework -->
|
| 134 | <extension
|
| 135 | id="wsValidator"
|
| 136 | name="%DomValidator_Name"
|
| 137 | point="org.eclipse.wst.validation.validator">
|
| 138 | <validator>
|
| 139 | <filter objectClass="org.eclipse.core.resources.IFile" nameFilter="*.java" />
|
| 140 | <markerId markerIdValue="WsValidatorMarker" />
|
| 141 | <helper
|
| 142 | class="org.eclipse.jst.ws.jaxws.dom.integration.validation.DomValidationHelper">
|
| 143 | </helper>
|
| 144 | <run
|
| 145 | class="org.eclipse.jst.ws.jaxws.dom.integration.validation.DomValidationManager">
|
| 146 | </run>
|
| 147 | </validator>
|
| 148 | </extension>
|
| 149 | <extension
|
| 150 | id="WsValidatorMarker"
|
| 151 | name="%DomValidation_MarkerName"
|
| 152 | point="org.eclipse.core.resources.markers">
|
| 153 | <super type="org.eclipse.core.resources.problemmarker"/>
|
| 154 | <super type="org.eclipse.core.resources.textmarker"/>
|
| 155 | <persistent value="true" />
|
| 156 | <attribute name="implementation"/>
|
| 157 | </extension>
|
| 158 | </plugin>
|