Marker Resolutions

org.eclipse.ui.ide.markerResolution

3.0 (originally added in release 2.0 as org.eclipse.ui.markerResolution)

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).

<!ELEMENT extension (markerResolutionGenerator*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT markerResolutionGenerator (attribute*)>

<!ATTLIST markerResolutionGenerator

class      CDATA #REQUIRED

markerType CDATA #IMPLIED>


<!ELEMENT attribute EMPTY>

<!ATTLIST attribute

name  CDATA #REQUIRED

value CDATA #REQUIRED>


The following is an example of a marker resolution generator extension (note the sub-element and the way attributes are used):

 

<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>

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.

More than one marker help generator may be supplied for a given marker.