Class DefaultBuildProgressMonitor
java.lang.Object
java.lang.Thread
org.aspectj.ajde.ui.swing.DefaultBuildProgressMonitor
- All Implemented Interfaces:
Runnable,IBuildProgressMonitor
This dialog box is open while ajc is compiling the system and displays
a corresponding progress bar.
- Author:
- Mik Kersten
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin()Start the progress monitor.voidfinish(boolean wasFullBuild) Jump the progress bar to the end and finish progress monitoring.booleanChecks whether the user has chosen to cancel the progress monitorvoidsetProgress(double percentDone) Sets the current progress donevoidsetProgressText(String text) Sets the label describing the current progress phase.Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Field Details
-
PROGRESS_HEADING
- See Also:
-
-
Constructor Details
-
DefaultBuildProgressMonitor
-
-
Method Details
-
begin
public void begin()Start the progress monitor.- Specified by:
beginin interfaceIBuildProgressMonitor
-
setProgressText
Sets the label describing the current progress phase.- Specified by:
setProgressTextin interfaceIBuildProgressMonitor
-
finish
public void finish(boolean wasFullBuild) Jump the progress bar to the end and finish progress monitoring.- Specified by:
finishin interfaceIBuildProgressMonitor- Parameters:
wasFullBuild- - true if was a full build, false otherwise
-
isCancelRequested
public boolean isCancelRequested()Description copied from interface:IBuildProgressMonitorChecks whether the user has chosen to cancel the progress monitor- Specified by:
isCancelRequestedin interfaceIBuildProgressMonitor- Returns:
- true if progress monitor has been cancelled and false otherwise
-
setProgress
public void setProgress(double percentDone) Description copied from interface:IBuildProgressMonitorSets the current progress done- Specified by:
setProgressin interfaceIBuildProgressMonitor- Parameters:
percentDone-
-