Package com.iizigo.quickfix.fixer
Class OpenProperty
java.lang.Object
org.eclipse.ui.views.markers.WorkbenchMarkerResolution
com.iizigo.quickfix.QuickFixAdapter
com.iizigo.quickfix.fixer.GotoProperty
com.iizigo.quickfix.fixer.OpenProperty
- All Implemented Interfaces:
- IQuickFix,- IQuickFixer,- IMarkerResolution,- IMarkerResolution2
A quick-fix to open the property reference in an editor.
- Author:
- Christopher Mindus
- Field SummaryFields- Fields inherited from class com.iizigo.quickfix.fixer.GotoProperty- editorName, isFolder, isRoot, location, property
- Constructor SummaryConstructorsConstructorDescriptionConstructs the quick-fixer with default constructor for Eclipse.- OpenProperty- (GProp<?> property) Creates a quick-fixer to Open the specified property.
- Method Summary- Methods inherited from class com.iizigo.quickfix.fixer.GotoProperty- getAttributes, run, setMarker- Methods inherited from class com.iizigo.quickfix.QuickFixAdapter- canBeGrouped, findOtherMarkers, getImage, getMarker- Methods inherited from class org.eclipse.ui.views.markers.WorkbenchMarkerResolution- run
- Field Details- IDThe ID "OpenProp".- See Also:
 
 
- Constructor Details- OpenPropertypublic OpenProperty()Constructs the quick-fixer with default constructor for Eclipse.
- OpenPropertyCreates a quick-fixer to Open the specified property.- Parameters:
- property- The property to go to.
 
 
- Method Details- getIDGets the ID of the quick-fix.
- isMarkerRequiredpublic boolean isMarkerRequired()Indicates if the label returned and also the description depends on the marker selected.- Specified by:
- isMarkerRequiredin interface- IQuickFixer
- Overrides:
- isMarkerRequiredin class- QuickFixAdapter
- Returns:
- true, to be able to use getMarker()to format the label and description.
 
- getLabelReturns a short label indicating what the resolution will do.- Specified by:
- getLabelin interface- IMarkerResolution
- Specified by:
- getLabelin interface- IQuickFixer
- Specified by:
- getLabelin class- QuickFixAdapter
- Returns:
- a short label for this resolution
 
- getDescriptionReturns 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- IMarkerResolution2
- Overrides:
- getDescriptionin class- QuickFixAdapter
- Returns:
- the additional information or null