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
-
Method Summary
Modifier and TypeMethodDescriptiongetResolutions
(IMarker marker) Returns resolutions for the given marker (may be empty).boolean
hasResolutions
(IMarker marker) Returns whether there are any resolutions for the given marker.
-
Constructor Details
-
ProjectEncodingMarkerResolutionGenerator
public ProjectEncodingMarkerResolutionGenerator()
-
-
Method Details
-
getResolutions
Description copied from interface:IMarkerResolutionGenerator
Returns resolutions for the given marker (may be empty).- Specified by:
getResolutions
in interfaceIMarkerResolutionGenerator
- Parameters:
marker
- the marker- Returns:
- resolutions for the given marker
-
hasResolutions
Description copied from interface:IMarkerResolutionGenerator2
Returns whether there are any resolutions for the given marker.- Specified by:
hasResolutions
in interfaceIMarkerResolutionGenerator2
- Parameters:
marker
- the marker- Returns:
true
if there are resolutions for the given marker,false
if not
-