edu.rice.cs.drjava.model.compiler
Class DummyCompilerListener

java.lang.Object
  extended by edu.rice.cs.drjava.model.compiler.DummyCompilerListener
All Implemented Interfaces:
CompilerListener

public class DummyCompilerListener
extends java.lang.Object
implements CompilerListener

An interface for responding to events generated by the CompilerModel.

Version:
$Id: DummyCompilerListener.java 5236 2010-04-27 01:43:36Z mgricken $

Constructor Summary
DummyCompilerListener()
           
 
Method Summary
 void activeCompilerChanged()
          Called after the active compiler has been changed.
 void compileAborted(java.lang.Exception e)
          Called if a compilation is aborted.
 void compileEnded(java.io.File workDir, java.util.List<? extends java.io.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyCompilerListener

public DummyCompilerListener()
Method Detail

compileStarted

public void compileStarted()
Description copied from interface: CompilerListener
Called after a compile is started by the GlobalModel.

Specified by:
compileStarted in interface CompilerListener

compileEnded

public void compileEnded(java.io.File workDir,
                         java.util.List<? extends java.io.File> excludedFiles)
Description copied from interface: CompilerListener
Called when a compile has finished running.

Specified by:
compileEnded in interface CompilerListener

compileAborted

public void compileAborted(java.lang.Exception e)
Description copied from interface: CompilerListener
Called if a compilation is aborted.

Specified by:
compileAborted in interface CompilerListener

saveBeforeCompile

public void saveBeforeCompile()
Description copied from interface: CompilerListener
Called to demand that all open source files be saved before compiling.

Specified by:
saveBeforeCompile in interface CompilerListener

saveUntitled

public void saveUntitled()
Description copied from interface: CompilerListener
Called to demand that the active document, which is untitled, be saved before compiling.

Specified by:
saveUntitled in interface CompilerListener

activeCompilerChanged

public void activeCompilerChanged()
Description copied from interface: CompilerListener
Called after the active compiler has been changed.

Specified by:
activeCompilerChanged in interface CompilerListener