| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.gmf.runtime.common.ui.services"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.gmf.runtime.common.ui.services" id="markerNavigationProviders" name="Marker Navigation Providers Extension Point"/> |
| </appInfo> |
| <documentation> |
| This extension point facilitates the configuration of providers for the marker navigation service |
| (<tt>org.eclipse.gmf.runtime.common.ui.services.marker.MarkerNavigationService</tt>). |
| <p> |
| The marker navigation service enables Xtools clients to perform the navigation feedback when the |
| user double clicks on or "goes to" a marker reference. The attribute values defined on the marker |
| identify a location or locations in the resource that are of interest to the user. The feedback |
| associated with navigation to that location depends upon the resource and its associated editors. |
| The feedback might simply be selecting the appropriate object(s) specified by the marker's location |
| or the feedback could involve a separate dialog to describe the reason for the marker (e.g., errors). |
| <p> |
| In order to make use of the marker navigation service, an Xtools client should define its own marker |
| types and creates the marker instances on the appropriate resources. Markers created on the |
| workspace root are not navigable. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <complexType> |
| <sequence> |
| <element ref="MarkerNavigationProvider"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The identifier of the extension point, e.g. <tt>org.eclipse.gmf.runtime.common.ui.services.markerNavigationProviders</tt>. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| The identifier of the extension, e.g. markerNavigationProviders. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| The name of the extension, e.g. %ext.markerNavigationProviders. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="MarkerNavigationProvider"> |
| <complexType> |
| <sequence> |
| <element ref="Priority"/> |
| <element ref="MarkerType" minOccurs="1" maxOccurs="unbounded"/> |
| <element ref="Policy" minOccurs="0" maxOccurs="1"/> |
| </sequence> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The provider class. Providers implement service functionality (operations). |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.gmf.runtime.common.ui.services.marker.AbstractMarkerNavigationProvider"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="Priority"> |
| <complexType> |
| <attribute name="name" use="required"> |
| <annotation> |
| <documentation> |
| The name of the provider priority, i.e. Lowest, Low, Medium, High, or Highest. |
| </documentation> |
| </annotation> |
| <simpleType> |
| <restriction base="string"> |
| <enumeration value="Lowest"> |
| </enumeration> |
| <enumeration value="Low"> |
| </enumeration> |
| <enumeration value="Medium"> |
| </enumeration> |
| <enumeration value="High"> |
| </enumeration> |
| <enumeration value="Highest"> |
| </enumeration> |
| </restriction> |
| </simpleType> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="MarkerType"> |
| <complexType> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The name of the marker type that the provider understands. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="Policy"> |
| <complexType> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The provider policy class. Provider policies can optionally be associated with providers to determine whether the providers provide a given operation. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| Following is an example of a marker navigation provider extension: |
| <p> |
| <pre> |
| <extension |
| id="markerNavigationProviders" |
| name="%ext.markerNavigationProviders" |
| point="org.eclipse.gmf.runtime.common.ui.services.markerNavigationProviders"> |
| <MarkerNavigationProvider |
| class="org.eclipse.test.project.ui.providers.ModelerMarkerNavigationProvider"> |
| <Priority |
| name="Highest"> |
| </Priority> |
| <MarkerType |
| name="org.eclipse.test.bookmark"> |
| </MarkerType> |
| </MarkerNavigationProvider> |
| </extension> |
| </pre> |
| </p> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| The value of the <tt>class</tt> attribute must represent a subclass of |
| <tt>org.eclipse.gmf.runtime.common.core.service.AbstractProvider</tt> that implements |
| <tt>org.eclipse.gmf.runtime.common.ui.services.marker.IMarkerNavigationProvider</tt>. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2003 IBM Corporation and others.<br> |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License v1.0 |
| which accompanies this distribution, and is available at |
| <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| |
| </documentation> |
| </annotation> |
| |
| </schema> |