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 Type Field Description
      static java.lang.String DeleteFile
      Defined Quick-Fixes from the Designer package.
      static java.lang.String DeleteProperty  
      static java.lang.String RenameResource  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      void loadFrom​(org.w3c.dom.Element element)
      Called when loaded from file to fill the quick-fix with data from XML.
      void saveTo​(org.w3c.dom.Element element)
      Saves the data into an element.
    • 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.