Package com.iizigo.quickfix.fixer
Class RecoverModuleSettings
java.lang.Object
org.eclipse.ui.views.markers.WorkbenchMarkerResolution
com.iizigo.quickfix.QuickFixAdapter
com.iizigo.quickfix.fixer.RecoverModuleSettings
- All Implemented Interfaces:
IQuickFixer
,org.eclipse.ui.IMarkerResolution
,org.eclipse.ui.IMarkerResolution2
Recovers the module settings file if accidentally removed.
- Author:
- Christopher Mindus
Field Summary
Constructor Summary
Method Summary
Methods inherited from class com.iizigo.quickfix.QuickFixAdapter
canBeGrouped, findOtherMarkers, getImage, getMarker, isMarkerRequired, setMarker
Methods inherited from class org.eclipse.ui.views.markers.WorkbenchMarkerResolution
run
Field Details
ID
The ID "RecoverModuleSettings".- See Also:
Constructor Details
RecoverModuleSettings
public RecoverModuleSettings()
Method Details
run
public void run(org.eclipse.core.resources.IMarker marker) Runs this resolution.- Specified by:
run
in interfaceorg.eclipse.ui.IMarkerResolution
- 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 interfaceorg.eclipse.ui.IMarkerResolution
- Specified by:
getLabel
in interfaceIQuickFixer
- Specified by:
getLabel
in classQuickFixAdapter
- Returns:
- A short label for this resolution.
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.- Specified by:
getDescription
in interfaceorg.eclipse.ui.IMarkerResolution2
- Overrides:
getDescription
in classQuickFixAdapter
- Returns:
- the additional information or
null