edu.rice.cs.drjava.ui
Class MainFrameTest.SingleDisplayModelCompileListener

java.lang.Object
  extended by edu.rice.cs.drjava.model.GlobalModelTestCase.TestListener
      extended by edu.rice.cs.drjava.ui.MainFrameTest.SingleDisplayModelCompileListener
All Implemented Interfaces:
CompilerListener, GlobalModelListener, JavadocListener, JUnitListener, InteractionsListener
Enclosing class:
MainFrameTest

 class MainFrameTest.SingleDisplayModelCompileListener
extends GlobalModelTestCase.TestListener
implements GlobalModelListener

A CompileListener for SingleDisplayModel (instead of GlobalModel)


Field Summary
 
Fields inherited from class edu.rice.cs.drjava.model.GlobalModelTestCase.TestListener
_startupTrace, activeCompilerChangedCount, canAbandonCount, classFileErrorCount, closeCount, compileBeforeJavadocCount, compileBeforeJUnitCount, compileEndCount, compileStartCount, consoleResetCount, fileNotFoundCount, filePathContainsPoundCount, fileRevertedCount, hasClearedEventQueue, interactionEndCount, interactionErrorCount, interactionIncompleteCount, interactionStartCount, interpreterChangedCount, interpreterExitedCount, interpreterReadyCount, interpreterResetFailedCount, interpreterResettingCount, junitEndCount, junitStartCount, junitSuiteStartedCount, junitTestEndedCount, junitTestStartedCount, lastExitStatus, newCount, nonTestCaseCount, openCount, quitFileCount, runStartCount, saveBeforeCompileCount, saveBeforeJavadocCount, saveCount, shouldRevertFileCount, undoableEditCount
 
Constructor Summary
MainFrameTest.SingleDisplayModelCompileListener()
           
 
Method Summary
 void activeDocumentChanged(OpenDefinitionsDocument active)
          Called when a new active document is selected
 void compileEnded(File workDir, List<? extends File> excludedFiles)
          Just notify when the compile has ended
 void compileStarted()
          Called after a compile is started by the GlobalModel.
 void fileOpened(OpenDefinitionsDocument doc)
          Called after a file is opened and read into the current document.
 
Methods inherited from class edu.rice.cs.drjava.model.GlobalModelTestCase.TestListener
activeCompilerChanged, activeDocumentRefreshed, allFilesClosed, assertAbandonCount, assertActiveCompilerChangedCount, assertClassFileErrorCount, assertCloseCount, assertCompileBeforeJavadocCount, assertCompileBeforeJUnitCount, assertCompileEndCount, assertCompileStartCount, assertConsoleResetCount, assertFileNotFoundCount, assertFileRevertedCount, assertInteractionEndCount, assertInteractionErrorCount, assertInteractionIncompleteCount, assertInteractionsErrorCount, assertInteractionStartCount, assertInterpreterChangedCount, assertInterpreterExitedCount, assertInterpreterReadyCount, assertInterpreterResetFailedCount, assertInterpreterResettingCount, assertJUnitEndCount, assertJUnitStartCount, assertJUnitSuiteStartedCount, assertJUnitTestEndedCount, assertJUnitTestStartedCount, assertNewCount, assertNonTestCaseCount, assertOpenCount, assertQuitFileCount, assertRunStartCount, assertSaveBeforeCompileCount, assertSaveBeforeJavadocCount, assertSaveCount, assertShouldRevertFileCount, assertUndoableEditCount, browserChanged, canAbandonFile, classFileError, compileAborted, compileBeforeJavadoc, compileBeforeJUnit, consoleReset, currentDirectoryChanged, documentNotFound, executeAsyncTask, fileClosed, filePathContainsPound, fileReverted, fileSaved, filesNotFound, filesReadOnly, focusOnDefinitionsPane, focusOnLastFocusOwner, handleAlreadyOpenDocument, interactionEnded, interactionErrorOccurred, interactionIncomplete, interactionStarted, interpreterChanged, interpreterExited, interpreterReady, interpreterResetFailed, interpreterResetting, javadocEnded, javadocStarted, junitClassesStarted, junitEnded, junitStarted, junitSuiteStarted, junitTestEnded, junitTestStarted, listenerFail, newFileCreated, nonTestCase, openProject, prepareForRun, projectBuildDirChanged, projectClosed, projectModified, projectRunnableChanged, projectWorkDirChanged, quitFile, resetCounts, saveBeforeCompile, saveBeforeJavadoc, saveUntitled, shouldRevertFile, undoableEditHappened, updateCurrentLocationInDoc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.rice.cs.drjava.model.GlobalModelListener
activeDocumentRefreshed, allFilesClosed, browserChanged, canAbandonFile, consoleReset, currentDirectoryChanged, documentNotFound, executeAsyncTask, fileClosed, filePathContainsPound, fileReverted, fileSaved, filesNotFound, filesReadOnly, focusOnDefinitionsPane, focusOnLastFocusOwner, handleAlreadyOpenDocument, newFileCreated, openProject, prepareForRun, projectBuildDirChanged, projectClosed, projectModified, projectRunnableChanged, projectWorkDirChanged, quitFile, shouldRevertFile, undoableEditHappened, updateCurrentLocationInDoc
 
Methods inherited from interface edu.rice.cs.drjava.model.repl.InteractionsListener
interactionEnded, interactionErrorOccurred, interactionIncomplete, interactionStarted, interpreterChanged, interpreterExited, interpreterReady, interpreterResetFailed, interpreterResetting
 
Methods inherited from interface edu.rice.cs.drjava.model.javadoc.JavadocListener
compileBeforeJavadoc, javadocEnded, javadocStarted, saveBeforeJavadoc
 
Methods inherited from interface edu.rice.cs.drjava.model.compiler.CompilerListener
activeCompilerChanged, compileAborted, saveBeforeCompile, saveUntitled
 
Methods inherited from interface edu.rice.cs.drjava.model.junit.JUnitListener
classFileError, compileBeforeJUnit, junitClassesStarted, junitEnded, junitStarted, junitSuiteStarted, junitTestEnded, junitTestStarted, nonTestCase
 

Constructor Detail

MainFrameTest.SingleDisplayModelCompileListener

MainFrameTest.SingleDisplayModelCompileListener()
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
Overrides:
compileStarted in class GlobalModelTestCase.TestListener

compileEnded

public void compileEnded(File workDir,
                         List<? extends File> excludedFiles)
Just notify when the compile has ended

Specified by:
compileEnded in interface CompilerListener
Overrides:
compileEnded in class GlobalModelTestCase.TestListener

fileOpened

public void fileOpened(OpenDefinitionsDocument doc)
Description copied from interface: GlobalModelListener
Called after a file is opened and read into the current document.

Specified by:
fileOpened in interface GlobalModelListener
Overrides:
fileOpened in class GlobalModelTestCase.TestListener

activeDocumentChanged

public void activeDocumentChanged(OpenDefinitionsDocument active)
Description copied from interface: GlobalModelListener
Called when a new active document is selected

Specified by:
activeDocumentChanged in interface GlobalModelListener
Overrides:
activeDocumentChanged in class GlobalModelTestCase.TestListener