Package com.iizigo.term.prop.quickfixer
Class DeleteRect
java.lang.Object
org.eclipse.ui.views.markers.WorkbenchMarkerResolution
com.iizigo.quickfix.QuickFixAdapter
com.iizigo.term.prop.quickfixer.DeleteRect
- All Implemented Interfaces:
- IQuickFix,- IQuickFixer,- IMarkerResolution,- IMarkerResolution2
Quick-fix helper class to "delete errored rectangle" in the corresponding Editor to e.g. edit a setting.
- Author:
- Christopher Mindus
- Field SummaryFields
- Constructor SummaryConstructorsModifierConstructorDescriptionConstructs the quick-fixer with default constructor for Eclipse.- protected- DeleteRect- (GProp<?> property) Creates a quick-fixer to go to the specified property.
- Method Summary- Methods inherited from class com.iizigo.quickfix.QuickFixAdapter- canBeGrouped, findOtherMarkers, getDescription, getImage, getMarker, isMarkerRequired- Methods inherited from class org.eclipse.ui.views.markers.WorkbenchMarkerResolution- run
- Field Details- IDID for quick fixer ("term.DeleteRect").- See Also:
 
- propertyThe property found, null if not found.
 
- Constructor Details- DeleteRectpublic DeleteRect()Constructs the quick-fixer with default constructor for Eclipse.
- DeleteRectCreates a quick-fixer to go to the specified property.- Parameters:
- property- The property to go to.
 
 
- Method Details- getAttributesGets the attributes for the marker.- Specified by:
- getAttributesin interface- IQuickFix
 
- runRuns this resolution.- Specified by:
- runin interface- IMarkerResolution
- Specified by:
- runin interface- IQuickFixer
- Specified by:
- runin class- QuickFixAdapter
- Parameters:
- marker- the marker to resolve.
 
- setMarkerCall to set the marker in a new instance of the quick-fixer.- Specified by:
- setMarkerin interface- IQuickFixer
- Overrides:
- setMarkerin class- QuickFixAdapter
- Parameters:
- marker- The marker.
 
- getIDReturns the ID of the Quick Fixer.
- getLabelGets the label of the quick fixer.- Specified by:
- getLabelin interface- IMarkerResolution
- Specified by:
- getLabelin interface- IQuickFixer
- Specified by:
- getLabelin class- QuickFixAdapter
- Returns:
- a short label for this resolution