|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.aspectj.tools.ajbrowser.core.BrowserBuildProgressMonitor
public class BrowserBuildProgressMonitor
Build progress monitor that shows the progress in a dialog containing a JProgressBar. Also updates the progress bar at the bottom of AjBrowser with the build progress information.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static java.lang.String |
PROGRESS_HEADING
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
BrowserBuildProgressMonitor(BrowserMessageHandler handler)
|
|
| Method Summary | |
|---|---|
void |
begin()
Start the progress monitor |
void |
finish(boolean wasFullBuild)
Stop the progress monitor |
boolean |
isCancelRequested()
Checks whether the user has chosen to cancel the progress monitor |
void |
setProgress(double percentDone)
Sets the current progress done |
void |
setProgressText(java.lang.String text)
Sets the label describing the current progress phase. |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROGRESS_HEADING
| Constructor Detail |
|---|
public BrowserBuildProgressMonitor(BrowserMessageHandler handler)
| Method Detail |
|---|
public void finish(boolean wasFullBuild)
IBuildProgressMonitor
finish in interface IBuildProgressMonitorwasFullBuild - - true if was a full build, false otherwisepublic boolean isCancelRequested()
IBuildProgressMonitor
isCancelRequested in interface IBuildProgressMonitorpublic void setProgress(double percentDone)
IBuildProgressMonitor
setProgress in interface IBuildProgressMonitorpublic void setProgressText(java.lang.String text)
IBuildProgressMonitor
setProgressText in interface IBuildProgressMonitorpublic void begin()
IBuildProgressMonitor
begin in interface IBuildProgressMonitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||