edu.rice.cs.drjava.model.compiler
Interface CompilerListener

All Known Subinterfaces:
GlobalModelListener
All Known Implementing Classes:
DebugTestCase.InterpretListener, DummyCompilerListener, DummyGlobalModelListener, GlobalEventNotifier, GlobalModelJUnitTest.JUnitCompileBeforeTestListener, GlobalModelTestCase.CompileShouldFailListener, GlobalModelTestCase.CompileShouldSucceedListener, GlobalModelTestCase.InteractionListener, GlobalModelTestCase.JUnitNonTestListener, GlobalModelTestCase.JUnitTestListener, GlobalModelTestCase.TestListener, SingleDisplayModelTest.SDTestListener

public interface CompilerListener

An interface for responding to events generated by the CompilerModel.

Version:
$Id: CompilerListener.java 4544 2008-07-08 06:59:53Z rcartwright $

Method Summary
 void activeCompilerChanged()
          Called after the active compiler has been changed.
 void compileAborted(Exception e)
          Called if a compilation is aborted.
 void compileEnded(File workDir, List<? extends File> excludedFiles)
          Called when a compile has finished running.
 void compileStarted()
          Called after a compile is started by the GlobalModel.
 void saveBeforeCompile()
          Called to demand that all open source files be saved before compiling.
 void saveUntitled()
          Called to demand that the active document, which is untitled, be saved before compiling.
 

Method Detail

compileStarted

void compileStarted()
Called after a compile is started by the GlobalModel.


compileEnded

void compileEnded(File workDir,
                  List<? extends File> excludedFiles)
Called when a compile has finished running.


compileAborted

void compileAborted(Exception e)
Called if a compilation is aborted.


saveBeforeCompile

void saveBeforeCompile()
Called to demand that all open source files be saved before compiling.


saveUntitled

void saveUntitled()
Called to demand that the active document, which is untitled, be saved before compiling.


activeCompilerChanged

void activeCompilerChanged()
Called after the active compiler has been changed.