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

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

 class MainFrameTest.SingleDisplayModelFileOpenedListener
extends GlobalModelTestCase.TestListener
implements GlobalModelListener

A FileClosedListener 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.SingleDisplayModelFileOpenedListener()
           
 
Method Summary
 void activeDocumentChanged(OpenDefinitionsDocument doc)
          Called when a new active document is selected
 void fileClosed(OpenDefinitionsDocument doc)
          Called after a document is closed.
 void fileOpened(OpenDefinitionsDocument doc)
          Called after a file is opened and read into the current document.
 void newFileCreated(OpenDefinitionsDocument doc)
          Called after a new document is created.
 
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, compileEnded, compileStarted, consoleReset, currentDirectoryChanged, documentNotFound, executeAsyncTask, 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, 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, filePathContainsPound, fileReverted, fileSaved, filesNotFound, filesReadOnly, focusOnDefinitionsPane, focusOnLastFocusOwner, handleAlreadyOpenDocument, 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, compileEnded, compileStarted, 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.SingleDisplayModelFileOpenedListener

MainFrameTest.SingleDisplayModelFileOpenedListener()
Method Detail

fileClosed

public void fileClosed(OpenDefinitionsDocument doc)
Description copied from interface: GlobalModelListener
Called after a document is closed.

Specified by:
fileClosed in interface GlobalModelListener
Overrides:
fileClosed 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

newFileCreated

public void newFileCreated(OpenDefinitionsDocument doc)
Description copied from interface: GlobalModelListener
Called after a new document is created.

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

activeDocumentChanged

public void activeDocumentChanged(OpenDefinitionsDocument doc)
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