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
 - public class RecoverModuleSettings extends QuickFixAdapter Recovers the module settings file if accidentally removed.- Author:
- Christopher Mindus
 
- Field Summary- Fields - Modifier and Type - Field - Description - static java.lang.String- IDThe ID "RecoverModuleSettings".
 - Constructor Summary- Constructors - Constructor - Description - RecoverModuleSettings()
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - java.lang.String- getDescription()Returns optional additional information about the resolution.- java.lang.String- getLabel()Returns a short label indicating what the resolution will do.- void- run(org.eclipse.core.resources.IMarker marker)Runs this resolution.- Methods inherited from class com.iizigo.quickfix.QuickFixAdapter- canBeGrouped, findOtherMarkers, getImage, getMarker, isMarkerRequired, setMarker
 
 
- Field Detail- ID- public static final java.lang.String ID The ID "RecoverModuleSettings".- See Also:
- Constant Field Values
 
 
 - Method Detail- run- public void run(org.eclipse.core.resources.IMarker marker) Runs this resolution.- Specified by:
- runin interface- org.eclipse.ui.IMarkerResolution
- Specified by:
- runin interface- IQuickFixer
- Specified by:
- runin class- QuickFixAdapter
- Parameters:
- marker- the marker to resolve.
 
 - getLabel- public java.lang.String getLabel() Returns a short label indicating what the resolution will do.- Specified by:
- getLabelin interface- org.eclipse.ui.IMarkerResolution
- Specified by:
- getLabelin interface- IQuickFixer
- Specified by:
- getLabelin class- QuickFixAdapter
- Returns:
- A short label for this resolution.
 
 - getDescription- public java.lang.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.- Specified by:
- getDescriptionin interface- org.eclipse.ui.IMarkerResolution2
- Overrides:
- getDescriptionin class- QuickFixAdapter
- Returns:
- the additional information or null