Class GotoProperty

All Implemented Interfaces:
IQuickFix, IQuickFixer, IMarkerResolution, IMarkerResolution2
Direct Known Subclasses:
OpenProperty

public abstract class GotoProperty extends QuickFixAdapter implements IQuickFix
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 Details

    • property

      protected GProp<?> property
      The property found, null if not found.
    • location

      protected String location
      The location of the property, null if property is not found.
    • editorName

      protected String editorName
      The Editor name, null if property is not found, or no editor applies.
    • isRoot

      protected boolean isRoot
      Flag for property is the root.
    • isFolder

      protected boolean isFolder
      Flag for property is a folder.
  • Constructor Details

    • GotoProperty

      public GotoProperty()
      Constructs the quick-fixer with default constructor for Eclipse.
    • GotoProperty

      protected GotoProperty(GProp<?> property)
      Creates a quick-fixer to go to the specified property.
      Parameters:
      property - The property to go to.
  • Method Details