Class ProjectEncodingMarkerResolutionGenerator
java.lang.Object
org.eclipse.ui.views.markers.internal.ProjectEncodingMarkerResolutionGenerator
- All Implemented Interfaces:
IMarkerResolutionGenerator,IMarkerResolutionGenerator2
public class ProjectEncodingMarkerResolutionGenerator
extends Object
implements IMarkerResolutionGenerator2
Provides a resolution for warning markers on projects without an explicit
encoding setting.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResolutions(IMarker marker) Returns resolutions for the given marker (may be empty).booleanhasResolutions(IMarker marker) Returns whether there are any resolutions for the given marker.
-
Constructor Details
-
ProjectEncodingMarkerResolutionGenerator
public ProjectEncodingMarkerResolutionGenerator()
-
-
Method Details
-
getResolutions
Description copied from interface:IMarkerResolutionGeneratorReturns resolutions for the given marker (may be empty).- Specified by:
getResolutionsin interfaceIMarkerResolutionGenerator- Parameters:
marker- the marker- Returns:
- resolutions for the given marker
-
hasResolutions
Description copied from interface:IMarkerResolutionGenerator2Returns whether there are any resolutions for the given marker.- Specified by:
hasResolutionsin interfaceIMarkerResolutionGenerator2- Parameters:
marker- the marker- Returns:
trueif there are resolutions for the given marker,falseif not
-