|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Registry of F1 help contexts and resolutions for markers.
The information contained in the registry is read from the org.eclipse.ui.markerhelp and org.eclipse.ui.markerresolution extension points.
Method Summary | |
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. |
Method Detail |
public String getHelp(IMarker marker)
null
if no help has been registered
for the marker.
marker
- the marker for which to obtain helppublic boolean 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 resolutionspublic IMarkerResolution[] getResolutions(IMarker marker)
marker
- the marker for which to obtain resolutions
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |