| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| </HEAD> |
| <HTML> |
| <BODY> |
| <H1><CENTER>Marker Resolutions</CENTER></H1> |
| <b><i>Identifier: </i></b>org.eclipse.ui.markerResolution<p> |
| <b><i>Since: </i></b>Release 2.0<p> |
| <b><i>Description: </i></b>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).<p><b><i>Configuration Markup:</i></b><p> |
| <p><samp> <!ELEMENT extension (markerResolutionGenerator*)></samp> |
| <br><br><samp> <!ATTLIST extension</samp> |
| <br><samp> point CDATA #REQUIRED</samp> |
| <br><samp> id CDATA #IMPLIED</samp> |
| <br><samp> name CDATA #IMPLIED</samp> |
| <br><samp> ></samp> |
| <ul> |
| <li><b>point</b> - a fully qualified identifier of the target extension point</li><li><b>id</b> - an optional identifier of the extension instance</li><li><b>name</b> - an optional name of the extension instance</li></ul> |
| <p><samp> <!ELEMENT markerResolutionGenerator (attribute*)></samp> |
| <br><br><samp> <!ATTLIST markerResolutionGenerator</samp> |
| <br><samp> class CDATA #REQUIRED</samp> |
| <br><samp> markerType CDATA #IMPLIED</samp> |
| <br><samp> ></samp> |
| <ul> |
| <li><b>class</b> - the name of the class implementing IMarkerResolutionGenerator</li><li><b>markerType</b> - the type of marker for which the help context applies.</li></ul> |
| <p><samp> <!ELEMENT attribute EMPTY></samp> |
| <br><br><samp> <!ATTLIST attribute</samp> |
| <br><samp> name CDATA #REQUIRED</samp> |
| <br><samp> value CDATA #REQUIRED</samp> |
| <br><samp> ></samp> |
| <ul> |
| <li><b>name</b> - the name of the attribute whose value is being specified.</li><li><b>value</b> - the specified value of the attribute.</li></ul> |
| <b><i>Examples: </i></b>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.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.<p> |
| <b><i>API Information: </i></b>More than one marker help generator may be supplied for a given marker.<p> |
| Copyright (c) 2002, 2003 IBM Corporation and others. |
| All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html<p> |
| </BODY> |
| </HTML> |