Class QuickFix

java.lang.Object
com.iizix.prop.QuickFix

public class QuickFix extends Object
Class used in Eclipse to defined a possible Quick-Fix for a property.
Author:
Christopher Mindus
  • Constructor Details

    • QuickFix

      public QuickFix(String propertyName, String description, IQuickFix quickFix)
      Constructs the quick-fix object.
      Parameters:
      propertyName - The property name.
      description - The description of the quick-fix.
      quickFix - The object that is a quick-fix private format.
      Throws:
      NullPointerException - If propertyName or description is null.
    • QuickFix

      public QuickFix(Element element) throws Throwable
      Creates a new QuickFix object from an XML Element.
      Throws:
      Throwable - For errors (or directly from IQuickFix implementation).
  • Method Details

    • getPropertyName

      public String getPropertyName()
      Gets the property name.
    • getDescription

      public String getDescription()
      Gets the description of the quick-fix.
    • getQuickFix

      public IQuickFix getQuickFix()
      Gets the object that is a quick-fix private format, null for none.
    • saveTo

      public void saveTo(Element element)
      Saves the quick-fix into a new QuickFix Element.