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,- org.eclipse.ui.IMarkerResolution,- org.eclipse.ui.IMarkerResolution2
 - public class OpenProperty extends GotoProperty A quick-fix to open the property reference in an editor.- Author:
- Christopher Mindus
 
- Field Summary- Fields - Modifier and Type - Field - Description - static java.lang.String- IDThe ID "OpenProp".- Fields inherited from class com.iizigo.quickfix.fixer.GotoProperty- editorName, isFolder, isRoot, location, property
 
 - Constructor Summary- Constructors - Constructor - Description - OpenProperty()Constructs the quick-fixer with default constructor for Eclipse.- OpenProperty(GProp<?> property)Creates a quick-fixer to Open the specified property.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - java.lang.String- getDescription()Returns optional additional information about the resolution.- java.lang.String- getID()Gets the ID of the quick-fix.- java.lang.String- getLabel()Returns a short label indicating what the resolution will do.- boolean- isMarkerRequired()Indicates if the label returned and also the description depends on the marker selected.- Methods inherited from class com.iizigo.quickfix.fixer.GotoProperty- getAttributes, run, setMarker
 - Methods inherited from class com.iizigo.quickfix.QuickFixAdapter- canBeGrouped, findOtherMarkers, getImage, getMarker
 
 
- Field Detail- ID- public static final java.lang.String ID The ID "OpenProp".- See Also:
- Constant Field Values
 
 
 - Constructor Detail- OpenProperty- public OpenProperty() Constructs the quick-fixer with default constructor for Eclipse.
 - OpenProperty- public OpenProperty(GProp<?> property) Creates a quick-fixer to Open the specified property.- Parameters:
- property- The property to go to.
 
 
 - Method Detail- getID- public java.lang.String getID() Gets the ID of the quick-fix.
 - isMarkerRequired- public 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.
 
 - getLabel- public java.lang.String getLabel() Returns a short label indicating what the resolution will do.- Specified by:
- getLabelin interface- org.eclipse.ui.IMarkerResolution
- Specified by:
- getLabelin interface- IQuickFixer
- Specified by:
- getLabelin class- QuickFixAdapter
- Returns:
- a short label for this resolution
 
 - getDescription- public java.lang.String getDescription() Returns 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- org.eclipse.ui.IMarkerResolution2
- Overrides:
- getDescriptionin class- QuickFixAdapter
- Returns:
- the additional information or null