org.aspectj.ajdt.internal.core.builder
Class AjBuildNotifier

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.builder.BuildNotifier
      extended by org.aspectj.ajdt.internal.core.builder.AjBuildNotifier
All Implemented Interfaces:
IProgressListener

public class AjBuildNotifier
extends BuildNotifier
implements IProgressListener


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
AjBuildNotifier(IProgressMonitor monitor, IProject project)
           
 
Method Summary
 boolean isCancelledRequested()
           
 void setCancelledRequested(boolean cancelRequested)
           
 void setProgress(double percentDone)
           
 void setText(java.lang.String text)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjBuildNotifier

public AjBuildNotifier(IProgressMonitor monitor,
                       IProject project)
Parameters:
monitor -
project -
Method Detail

setText

public void setText(java.lang.String text)
Specified by:
setText in interface IProgressListener
Parameters:
text - the current phase of processing

setProgress

public void setProgress(double percentDone)
Specified by:
setProgress in interface IProgressListener
Parameters:
percentDone - how much work is completed so far

setCancelledRequested

public void setCancelledRequested(boolean cancelRequested)
Specified by:
setCancelledRequested in interface IProgressListener
Parameters:
cancelRequested - true if the caller wants the current compilation to stop asap

isCancelledRequested

public boolean isCancelledRequested()
Specified by:
isCancelledRequested in interface IProgressListener
Returns:
true if the consumer of the progress info would like the compileation to stop