package bluej.compiler;
import threadchecker.OnThread;
import threadchecker.Tag;
| Observer interface for classes that are interested in compilation.
|
| All events will be received on the event dispatch thread.
|
| Note this is no longer an exact copy of CompileObserver. That class returns void
| from the compilerMessage method, because none of the CompileObserver callers actually care.
| The only observer which cares is the data collection observer, which implements
| FXCompileObserver (this class), so only this class returns something from compilerMessage.
|
| @author Michael Cahill
|
@OnThread(Tag.FXPlatform)
public interface FXCompileObserver
{
| A compilation job has started.
|
void startCompile(CompileInputFile[] sources, CompileReason reason, CompileType type, int compilationSequence);
| An error or warning message occurred during compilation
|
| Returns whether or not the error was shown to the user (for data collection purposes)
|
p.public boolean compilerMessage(Diagnostic diagnostic, CompileType type);
| A Compilation job finished.
|
void endCompile(CompileInputFile[] sources, boolean succesful, CompileType type, int compilationSequence);
}
top,
use,
map,
interface FXCompileObserver
. startCompile
. compilerMessage
. endCompile
17 neLoCode
+ 11 LoComm