Package com.iizigo.quickfix.fixer
Class GotoProperty
java.lang.Object
org.eclipse.ui.views.markers.WorkbenchMarkerResolution
com.iizigo.quickfix.QuickFixAdapter
com.iizigo.quickfix.fixer.GotoProperty
- All Implemented Interfaces:
- IQuickFix,- IQuickFixer,- IMarkerResolution,- IMarkerResolution2
- Direct Known Subclasses:
- OpenProperty
An abstract Quick-fix helper class to "go to a property" in the corresponding Editor to e.g. edit a setting. The label and optionally the description must be provided in the subclass, as it cannot vary, i.e. the fix cannot
- Author:
- Christopher Mindus
- Field SummaryFieldsModifier and TypeFieldDescription- protected StringThe Editor name, null if property is not found, or no editor applies.- protected booleanFlag for property is a folder.- protected booleanFlag for property is the root.- protected StringThe location of the property, null if property is not found.- protected GProp<?>The property found, null if not found.
- Constructor SummaryConstructorsModifierConstructorDescriptionConstructs the quick-fixer with default constructor for Eclipse.- protected- GotoProperty- (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, getLabel, getMarker, isMarkerRequired- Methods inherited from class org.eclipse.ui.views.markers.WorkbenchMarkerResolution- run
- Field Details- propertyThe property found, null if not found.
- locationThe location of the property, null if property is not found.
- editorNameThe Editor name, null if property is not found, or no editor applies.
- isRootprotected boolean isRootFlag for property is the root.
- isFolderprotected boolean isFolderFlag for property is a folder.
 
- Constructor Details- GotoPropertypublic GotoProperty()Constructs the quick-fixer with default constructor for Eclipse.
- GotoPropertyCreates 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.