Package org.eclipse.ui
Interface IMarkerResolution2
-
- All Superinterfaces:
IMarkerResolution
- All Known Implementing Classes:
WorkbenchMarkerResolution
public interface IMarkerResolution2 extends IMarkerResolution
ExtendsIMarkerResolution. This interface should be used in place ofIMarkerResolutionif a description and/or image are desired.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Returns optional additional information about the resolution.ImagegetImage()Returns the image to be displayed in the list of resolutions.-
Methods inherited from interface org.eclipse.ui.IMarkerResolution
getLabel, run
-
-
-
-
Method Detail
-
getDescription
String getDescription()
Returns optional additional information about the resolution. The additional information will be presented to assist the user in deciding if the selected proposal is the desired choice.- Returns:
- the additional information or
null
-
getImage
Image getImage()
Returns the image to be displayed in the list of resolutions. The image would typically be shown to the left of the display string.- Returns:
- the image to be shown or
nullif no image is desired
-
-