Eclipse Platform
Release 3.0

org.eclipse.ui
Interface IMarkerResolution2

All Superinterfaces:
IMarkerResolution

public interface IMarkerResolution2
extends IMarkerResolution

Extends IMarkerResolution. This interface should be used in place of IMarkerResolution if a description and/or image are desired.

Since:
3.0

Method Summary
 String getDescription()
          Returns optional additional information about the resolution.
 Image getImage()
          Returns the image to be displayed in the list of resolutions.
 
Methods inherited from interface org.eclipse.ui.IMarkerResolution
getLabel, run
 

Method Detail

getDescription

public 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

public 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 null if no image is desired

Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.