Package com.iizigo.quickfix.fixer
Class DeleteFile
java.lang.Object
org.eclipse.ui.views.markers.WorkbenchMarkerResolution
com.iizigo.quickfix.QuickFixAdapter
com.iizigo.quickfix.fixer.DeleteFile
- All Implemented Interfaces:
IQuickFixer
,IMarkerResolution
,IMarkerResolution2
Fixes a problem with the file name by deleting the file. This is typically used when a file is located in a project folder and has a name that is not valid, e.g. wrong file extension, or a name that is invalid.
- Author:
- Christopher Mindus
Field Summary
Constructor Summary
Method Summary
Methods inherited from class com.iizigo.quickfix.QuickFixAdapter
canBeGrouped, findOtherMarkers, getDescription, getImage, getMarker, isMarkerRequired, setMarker
Methods inherited from class org.eclipse.ui.views.markers.WorkbenchMarkerResolution
run
Field Details
ID
The ID "DeleteFile".- See Also:
Constructor Details
DeleteFile
public DeleteFile()
Method Details
run
Runs this resolution.- Specified by:
run
in interfaceIMarkerResolution
- Specified by:
run
in interfaceIQuickFixer
- Specified by:
run
in classQuickFixAdapter
- Parameters:
marker
- the marker to resolve.
getLabel
Returns a short label indicating what the resolution will do.- Specified by:
getLabel
in interfaceIMarkerResolution
- Specified by:
getLabel
in interfaceIQuickFixer
- Specified by:
getLabel
in classQuickFixAdapter
- Returns:
- A short label for this resolution.