Package bluej.extensions2.event
Interface CompileListener
- 
public interface CompileListenerThis interface allows an extension to listen for compile events. The order of occurrence of these method calls for a given compilation is:compileStarted() compileError() # If a compilation error occurs compileWarning() # If a compilation warning occurs compileFailed() or compileSucceeded() 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcompileError(CompileEvent event)This method will be called when there is a report of a compile error.voidcompileFailed(CompileEvent event)This method will be called when the compile fails.voidcompileStarted(CompileEvent event)This method will be called when a compilation starts.voidcompileSucceeded(CompileEvent event)This method will be called when the compile ends successfully.voidcompileWarning(CompileEvent event)This method will be called when there is a report of a compile warning. 
 - 
 
- 
- 
Method Detail
- 
compileStarted
void compileStarted(CompileEvent event)
This method will be called when a compilation starts. If a long operation must be performed the extension should start a Thread.- Parameters:
 event- aCompileEventobject of typeCompileEvent.EventType.COMPILE_START_EVENT.
 
- 
compileError
void compileError(CompileEvent event)
This method will be called when there is a report of a compile error. If a long operation must be performed the extension should start a Thread.- Parameters:
 event- aCompileEventobject of typeCompileEvent.EventType.COMPILE_ERROR_EVENT.
 
- 
compileWarning
void compileWarning(CompileEvent event)
This method will be called when there is a report of a compile warning. If a long operation must be performed the extension should start a Thread.- Parameters:
 event- aCompileEventobject of typeCompileEvent.EventType.COMPILE_WARNING_EVENT.
 
- 
compileSucceeded
void compileSucceeded(CompileEvent event)
This method will be called when the compile ends successfully. If a long operation must be performed the extension should start a Thread.- Parameters:
 event- aCompileEventobject of typeCompileEvent.EventType.COMPILE_DONE_EVENT.
 
- 
compileFailed
void compileFailed(CompileEvent event)
This method will be called when the compile fails. If a long operation must be performed the extension should start a Thread.- Parameters:
 event- aCompileEventobject of typeCompileEvent.EventType.COMPILE_FAILED_EVENT.
 
 - 
 
 -