public interface IMarkerHelpRegistry
The information contained in the registry is read from the org.eclipse.ui.markerhelp and org.eclipse.ui.markerresolution extension points.
Modifier and Type | Method and Description |
---|---|
String |
getHelp(IMarker marker)
Returns a help context id for the given marker or
null if no help has been registered
for the marker. |
IMarkerResolution[] |
getResolutions(IMarker marker)
Returns an array of resolutions for the given marker.
|
boolean |
hasResolutions(IMarker marker)
Returns
false if there are no resolutions for
the given marker. |
String getHelp(IMarker marker)
null
if no help has been registered
for the marker.marker
- the marker for which to obtain helpboolean hasResolutions(IMarker marker)
false
if there are no resolutions for
the given marker. Returns true
if their may
be resolutions. In most cases a true
value
means there are resolutions but due to plugin loading
issues getResolutions may sometimes return an empty array
after this method returns true
.marker
- the marker for which to determine if there
are resolutionstrue
if there may be resolutionsIMarkerResolution[] getResolutions(IMarker marker)
marker
- the marker for which to obtain resolutions
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.