Class DeleteProperty
java.lang.Object
org.eclipse.ui.views.markers.WorkbenchMarkerResolution
com.iizigo.quickfix.QuickFixAdapter
com.iizigo.quickfix.fixer.DeleteProperty
- All Implemented Interfaces:
IQuickFix, IQuickFixer, IMarkerResolution, IMarkerResolution2
Fixes a problem with the file name by deleting the property. This is typically used when a duplicate property has been created.
- Author:
- Christopher Mindus
Field Summary
FieldsConstructor Summary
ConstructorsModifierConstructorDescriptionConstructs the quick-fixer with default constructor for Eclipse.protectedDeleteProperty(GProp<?> property) Creates a quick-fixer to go to the specified property.Method Summary
Methods inherited from class QuickFixAdapter
canBeGrouped, findOtherMarkers, getDescription, getImage, getMarker, isMarkerRequiredMethods inherited from class WorkbenchMarkerResolution
run
Field Details
ID
property
The property found, null if not found.
Constructor Details
DeleteProperty
public DeleteProperty()Constructs the quick-fixer with default constructor for Eclipse.DeleteProperty
Creates a quick-fixer to go to the specified property.- Parameters:
property- The property to go to.
Method Details
getAttributes
Gets the attributes for the marker.- Specified by:
getAttributesin interfaceIQuickFix
run
Runs this resolution.- Specified by:
runin interfaceIMarkerResolution- Specified by:
runin interfaceIQuickFixer- Specified by:
runin classQuickFixAdapter- Parameters:
marker- the marker to resolve.
setMarker
Call to set the marker in a new instance of the quick-fixer.- Specified by:
setMarkerin interfaceIQuickFixer- Overrides:
setMarkerin classQuickFixAdapter- Parameters:
marker- The marker.
getID
getLabel
Gets the label of the quick fixer.- Specified by:
getLabelin interfaceIMarkerResolution- Specified by:
getLabelin interfaceIQuickFixer- Specified by:
getLabelin classQuickFixAdapter- Returns:
- a short label for this resolution