Class CreateModuleFolders

  • All Implemented Interfaces:
    IQuickFixer, org.eclipse.ui.IMarkerResolution, org.eclipse.ui.IMarkerResolution2

    public class CreateModuleFolders
    extends QuickFixAdapter
    Recovers a missing folder if accidentally removed.
    Author:
    Christopher Mindus
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ID
      The ID "CreateModuleFoldersQuickFixer".
    • Field Detail

      • ID

        public static final java.lang.String ID
        The ID "CreateModuleFoldersQuickFixer".
        See Also:
        Constant Field Values
    • Constructor Detail

      • CreateModuleFolders

        public CreateModuleFolders()
    • Method Detail

      • run

        public void run​(org.eclipse.core.resources.IMarker marker)
        Runs this resolution.
        Specified by:
        run in interface org.eclipse.ui.IMarkerResolution
        Specified by:
        run in interface IQuickFixer
        Specified by:
        run in class QuickFixAdapter
        Parameters:
        marker - the marker to resolve.
      • getLabel

        public java.lang.String getLabel()
        Returns a short label indicating what the resolution will do.
        Specified by:
        getLabel in interface org.eclipse.ui.IMarkerResolution
        Specified by:
        getLabel in interface IQuickFixer
        Specified by:
        getLabel in class QuickFixAdapter
        Returns:
        A short label for this resolution.