Interface IQuickFix


  • public interface IQuickFix
    Quick-fix interface needed by a quick-fix private object to integrate with Eclipse.
    Author:
    Christopher Mindus
    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringDeleteFile
      Defined Quick-Fixes from the Designer package.
      static java.lang.StringDeleteProperty 
      static java.lang.StringRenameResource 
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.lang.Class<IQuickFix>getConstructor()
      Gets a class that is used to instantiate a new instance of this QuickFix interface implementor class when loaded from XML.
      voidloadFrom​(org.w3c.dom.Element element)
      Called when loaded from file to fill the quick-fix with data from XML.
      voidsaveTo​(org.w3c.dom.Element element)
      Saves the data into an element.
    • Field Detail

      • DeleteFile

        static final java.lang.String DeleteFile
        Defined Quick-Fixes from the Designer package.
        See Also:
        Constant Field Values
    • Method Detail

      • getConstructor

        java.lang.Class<IQuickFix> getConstructor()
        Gets a class that is used to instantiate a new instance of this QuickFix interface implementor class when loaded from XML.
      • loadFrom

        void loadFrom​(org.w3c.dom.Element element)
               throws java.lang.Exception
        Called when loaded from file to fill the quick-fix with data from XML.
        Throws:
        java.lang.Exception - For errors.
      • saveTo

        void saveTo​(org.w3c.dom.Element element)
        Saves the data into an element.
        Parameters:
        element - The parent element, typically the properties main element.