Package com.iizigo.quickfix.fixer
Class CreateModuleFolders
- java.lang.Object
- org.eclipse.ui.views.markers.WorkbenchMarkerResolution
- com.iizigo.quickfix.QuickFixAdapter
- com.iizigo.quickfix.fixer.CreateModuleFolders
- All Implemented Interfaces:
IQuickFixer,org.eclipse.ui.IMarkerResolution,org.eclipse.ui.IMarkerResolution2
public class CreateModuleFolders extends QuickFixAdapter
Recovers a missing folder if accidentally removed.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIDThe ID "CreateModuleFoldersQuickFixer".
Constructor Summary
Constructors Constructor Description CreateModuleFolders()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLabel()Returns a short label indicating what the resolution will do.voidrun(org.eclipse.core.resources.IMarker marker)Runs this resolution.Methods inherited from class com.iizigo.quickfix.QuickFixAdapter
canBeGrouped, findOtherMarkers, getDescription, getImage, getMarker, isMarkerRequired, setMarker
Field Detail
ID
public static final java.lang.String ID
The ID "CreateModuleFoldersQuickFixer".- See Also:
- Constant Field Values
Method Detail
run
public void run(org.eclipse.core.resources.IMarker marker)
Runs this resolution.- Specified by:
runin interfaceorg.eclipse.ui.IMarkerResolution- Specified by:
runin interfaceIQuickFixer- Specified by:
runin classQuickFixAdapter- 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 interfaceorg.eclipse.ui.IMarkerResolution- Specified by:
getLabelin interfaceIQuickFixer- Specified by:
getLabelin classQuickFixAdapter- Returns:
- A short label for this resolution.