| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.ui.ide" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.ui.ide" id="markerResolution" name="Marker Resolutions"/> |
| </appInfo> |
| <documentation> |
| This extension point is used to associate a marker resolution generator with a specific "kind" of marker. |
| (a marker of a certain type or having certain attribute values). |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appInfo> |
| <meta.element /> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="markerResolutionGenerator" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a fully qualified identifier of the target extension point |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| an optional identifier of the extension instance |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| an optional name of the extension instance |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="markerResolutionGenerator"> |
| <complexType> |
| <sequence> |
| <element ref="attribute" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the name of the class implementing <code>IMarkerResolutionGenerator</code>. For better performance it should also implement <code>IMarkerResolutionGenerator2</code>. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.ui.IMarkerResolutionGenerator"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="markerType" type="string"> |
| <annotation> |
| <documentation> |
| the marker type for which this marker resolution generator applies. It does not apply to marker subtypes. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="identifier" basedOn="org.eclipse.core.resources.markers/@id"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="attribute"> |
| <annotation> |
| <appInfo> |
| <meta.element labelAttribute="name"/> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the name of the attribute whose value is being specified. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="value" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the specified value of the attribute. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| 3.0 (originally added in release 2.0 as org.eclipse.ui.markerResolution) |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| The following is an example of a marker resolution generator extension (note the sub-element and the way attributes are used): |
| |
| <p> |
| <pre> |
| <extension point="org.eclipse.ui.ide.markerResolution"> |
| <markerResolutionGenerator |
| class="org.eclipse.ui.examples.readmetool.ReadmeMarkerResolutionGenerator" |
| markerType="org.eclipse.ui.examples.readmetool.readmemarker"> |
| <attribute name="org.eclipse.ui.examples.readmetool.id" value="1234"/> |
| </markerResolutionGenerator> |
| </extension> |
| </pre> |
| </p> |
| |
| In the example above, a marker resolution generator is associated with markers of type org.eclipse.ui.examples.readmetool.readmemarker |
| whose org.eclipse.ui.examples.redmetool.id attribute has a value of 1234. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| More than one marker resolution generator may be supplied for a given marker as long as the target attributes are different by name or value. |
| |
| </documentation> |
| </annotation> |
| |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2002, 2009 IBM Corporation and others.<br> |
| |
| This program and the accompanying materials are made |
| available under the terms of the Eclipse Public License 2.0 which accompanies |
| this distribution, and is available at <a |
| href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/ |
| |
| SPDX-License-Identifier: EPL-2.0 |
| </documentation> |
| </annotation> |
| |
| </schema> |