Class CloseProjectQuickFixer

java.lang.Object
org.eclipse.ui.views.markers.WorkbenchMarkerResolution
com.iizigo.quickfix.QuickFixAdapter
com.iizigo.term.project.CloseProjectQuickFixer
All Implemented Interfaces:
IQuickFixer, org.eclipse.ui.IMarkerResolution, org.eclipse.ui.IMarkerResolution2

public class CloseProjectQuickFixer extends QuickFixAdapter
Fixes a problem with multiple Terminal projects by closing one.
Author:
Christopher Mindus
  • Field Details

  • Constructor Details

    • CloseProjectQuickFixer

      public CloseProjectQuickFixer()
  • Method Details

    • 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 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.