Class AjBuildNotifier
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.BuildNotifier
org.aspectj.ajdt.internal.core.builder.AjBuildNotifier
- All Implemented Interfaces:
IProgressListener
- Author:
- colyer Build progress notification inside Eclipse
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.BuildNotifier
cancelling, fixedErrorCount, FixedErrorCount, fixedWarningCount, FixedWarningCount, monitor, newErrorCount, NewErrorCount, newWarningCount, NewWarningCount, percentComplete, previousSubtask, progressPerCompilationUnit, totalWork, workDone
-
Constructor Summary
ConstructorDescriptionAjBuildNotifier(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.resources.IProject project)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setCancelledRequested(boolean cancelRequested)
void
setProgress(double percentDone)
void
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.BuildNotifier
aboutToCompile, begin, checkCancel, checkCancelWithinCompiler, compiled, done, problemsMessage, resetProblemCounters, setCancelling, setProgressPerCompilationUnit, subTask, updateProblemCounts, updateProblemCounts, updateProgress, updateProgressDelta
-
Constructor Details
-
AjBuildNotifier
public AjBuildNotifier(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.resources.IProject project)- Parameters:
monitor
-project
-
-
-
Method Details
-
setText
- Specified by:
setText
in interfaceIProgressListener
- Parameters:
text
- the current phase of processing
-
setProgress
public void setProgress(double percentDone)- Specified by:
setProgress
in interfaceIProgressListener
- Parameters:
percentDone
- how much work is completed so far
-
setCancelledRequested
public void setCancelledRequested(boolean cancelRequested)- Specified by:
setCancelledRequested
in interfaceIProgressListener
- Parameters:
cancelRequested
- true if the caller wants the current compilation to stop asap
-
isCancelledRequested
public boolean isCancelledRequested()- Specified by:
isCancelledRequested
in interfaceIProgressListener
- Returns:
- true if the consumer of the progress info would like the compileation to stop
-