Class DefaultBuildProgressMonitor

java.lang.Object
java.lang.Thread
org.aspectj.ajde.ui.swing.DefaultBuildProgressMonitor
All Implemented Interfaces:
Runnable, IBuildProgressMonitor

public class DefaultBuildProgressMonitor extends Thread implements IBuildProgressMonitor
This dialog box is open while ajc is compiling the system and displays a corresponding progress bar.
Author:
Mik Kersten
  • Field Details

  • Constructor Details

    • DefaultBuildProgressMonitor

      public DefaultBuildProgressMonitor(Frame parent)
  • Method Details

    • begin

      public void begin()
      Start the progress monitor.
      Specified by:
      begin in interface IBuildProgressMonitor
    • setProgressText

      public void setProgressText(String text)
      Sets the label describing the current progress phase.
      Specified by:
      setProgressText in interface IBuildProgressMonitor
    • finish

      public void finish(boolean wasFullBuild)
      Jump the progress bar to the end and finish progress monitoring.
      Specified by:
      finish in interface IBuildProgressMonitor
      Parameters:
      wasFullBuild - - true if was a full build, false otherwise
    • isCancelRequested

      public boolean isCancelRequested()
      Description copied from interface: IBuildProgressMonitor
      Checks whether the user has chosen to cancel the progress monitor
      Specified by:
      isCancelRequested in interface IBuildProgressMonitor
      Returns:
      true if progress monitor has been cancelled and false otherwise
    • setProgress

      public void setProgress(double percentDone)
      Description copied from interface: IBuildProgressMonitor
      Sets the current progress done
      Specified by:
      setProgress in interface IBuildProgressMonitor