Uses of Interface
edu.rice.cs.drjava.model.OpenDefinitionsDocument

Packages that use OpenDefinitionsDocument
edu.rice.cs.drjava.model The model package is responsible for the majority of the logic and state in DrJava. 
edu.rice.cs.drjava.model.cache The idea behind this new interface is that the rest of the model should not talk directly to the document cache but rather to an adapter to the cache. 
edu.rice.cs.drjava.model.compiler Contains adaptor code for invoking various Java compilers. 
edu.rice.cs.drjava.model.debug Contains the code for DrJava's JPDA-based debugger. 
edu.rice.cs.drjava.model.debug.jpda   
edu.rice.cs.drjava.model.definitions Provides the data model for storing Java source code. 
edu.rice.cs.drjava.model.javadoc   
edu.rice.cs.drjava.model.junit Contains the code for integration of the JUnit testing facility. 
edu.rice.cs.drjava.ui The ui package contains classes for the default user interface for DrJava. 
edu.rice.cs.util.swing Some utility classes for working in Swing. 
 

Uses of OpenDefinitionsDocument in edu.rice.cs.drjava.model
 

Classes in edu.rice.cs.drjava.model that implement OpenDefinitionsDocument
(package private)  class AbstractGlobalModel.ConcreteOpenDefDoc
          A wrapper around a DefinitionsDocument or potential DefinitionsDocument (if it has been kicked out of the cache) The GlobalModel interacts with DefinitionsDocuments through this wrapper.
This call was formerly called the DefinitionsDocumentHandler but was renamed (2004-Jun-8) to be more descriptive/intuitive.
(package private)  class DefaultGlobalModel.ConcreteOpenDefDoc
          Inner class to handle operations on each of the open DefinitionsDocuments by the GlobalModel.
 class DummyOpenDefDoc
           
private static class TestDocGetter.TestOpenDoc
          Test implementation of OpenDefinitionsDocument interface.
 

Fields in edu.rice.cs.drjava.model declared as OpenDefinitionsDocument
private  OpenDefinitionsDocument AbstractGlobalModel._activeDocument
          The active document pointer, which will never be null once the constructor is done.
private  OpenDefinitionsDocument DocumentRegionTest._doc
           
private  OpenDefinitionsDocument FindReplaceMachineTest._doc
           
protected  OpenDefinitionsDocument BrowserDocumentRegion._doc
           
protected  OpenDefinitionsDocument GlobalModelTestCase._doc
           
protected  OpenDefinitionsDocument DocumentRegion._doc
           
private  OpenDefinitionsDocument FindReplaceMachine._doc
           
private  OpenDefinitionsDocument FindReplaceMachineTest._docNext
           
private  OpenDefinitionsDocument FindReplaceMachineTest._docPrev
           
private  OpenDefinitionsDocument FindResult._document
           
private  OpenDefinitionsDocument DocumentClosedException._document
           
private  OpenDefinitionsDocument FindReplaceMachine._firstDoc
           
private  OpenDefinitionsDocument[] AlreadyOpenException._openDocs
           
 

Fields in edu.rice.cs.drjava.model with type parameters of type OpenDefinitionsDocument
protected  IDocumentNavigator<OpenDefinitionsDocument> AbstractGlobalModel._documentNavigator
          The abstract container which contains views of open documents and allows user to navigate document focus among this collection of open documents
private  Set<OpenDefinitionsDocument> ConcreteRegionManager._documents
          The domain of the _regions.
private  AbstractMap<File,OpenDefinitionsDocument> AbstractGlobalModel._documentsRepos
          Collection for storing all OpenDefinitionsDocuments.
private  HashMap<OpenDefinitionsDocument,String> DefaultLightWeightParsingControl._enclosingClassNames
          Enclosing class names for the documents.
private  HashMap<OpenDefinitionsDocument,Long> DefaultLightWeightParsingControl._lastUpdates
          Last updates for the documents.
private  HashMap<OpenDefinitionsDocument,SortedSet<R>> ConcreteRegionManager._regions
          Hashtable mapping documents to collections of regions.
(package private)  HashMap<File,OpenDefinitionsDocument> TestDocGetter.docs
          Storage for documents and File keys.
 

Methods in edu.rice.cs.drjava.model that return OpenDefinitionsDocument
private  OpenDefinitionsDocument GlobalIndentTest._getOpenDoc()
          Get the only open definitions document.
protected  OpenDefinitionsDocument AbstractGlobalModel._getOpenDocument(File file)
          Returns the OpenDefinitionsDocument corresponding to the given File, or null if that file is not open.
 OpenDefinitionsDocument AbstractGlobalModel._openFile(File file)
          Creates a document from a file.
private  OpenDefinitionsDocument[] AbstractGlobalModel._openFiles(File[] files)
          Opens all the files in the list, and notifies about the last file opened.
private  OpenDefinitionsDocument AbstractGlobalModel._rawOpenFile(File file)
          Creates an OpenDefinitionsDocument for a file.
protected  OpenDefinitionsDocument GlobalModelTestCase.doCompile(String text, File file)
          Compiles a new file with the given text.
 OpenDefinitionsDocument AbstractGlobalModel.getActiveDocument()
          Returns the currently active document.
 OpenDefinitionsDocument SingleDisplayModel.getActiveDocument()
           
 OpenDefinitionsDocument BrowserDocumentRegion.getDocument()
           
 OpenDefinitionsDocument IDocumentRegion.getDocument()
           
 OpenDefinitionsDocument MovingDocumentRegion.getDocument()
           
 OpenDefinitionsDocument DocumentRegion.getDocument()
           
 OpenDefinitionsDocument FindReplaceMachine.getDocument()
           
 OpenDefinitionsDocument FindResult.getDocument()
          Returns the document where the found instance is located
 OpenDefinitionsDocument DocumentClosedException.getDocument()
          Get the document which caused this exception.
 OpenDefinitionsDocument AbstractGlobalModel.getDocumentForFile(File file)
          Gets the document for the specified file; may involve opening the file.
 OpenDefinitionsDocument GlobalModel.getDocumentForFile(File file)
          Returns the OpenDefinitionsDocument for the specified File, opening a new copy if one is not already open.
 OpenDefinitionsDocument DummyGlobalModel.getDocumentForFile(File file)
           
 OpenDefinitionsDocument TestDocGetter.getDocumentForFile(File file)
           
 OpenDefinitionsDocument FindReplaceMachine.getFirstDoc()
           
private  OpenDefinitionsDocument AbstractGlobalModel.getNextDocHelper(OpenDefinitionsDocument nextdoc, Component frame)
          Checks that the document exists, and if it doesn't, asks if the user wants to continue.
 OpenDefinitionsDocument AbstractGlobalModel.getNextDocument(OpenDefinitionsDocument d)
          Returns the ODD preceding the given document in the document list.
 OpenDefinitionsDocument AbstractGlobalModel.getNextDocument(OpenDefinitionsDocument d, Component frame)
          Returns the ODD preceding the given document in the document list.
 OpenDefinitionsDocument AbstractGlobalModel.getODDForDocument(AbstractDocumentInterface doc)
          Returns the OpenDefinitionsDocument corresponding to the INavigatorItem/DefinitionsDocument passed in.
 OpenDefinitionsDocument GlobalModel.getODDForDocument(AbstractDocumentInterface doc)
          CHECK IF NEEDED!
 OpenDefinitionsDocument DummyGlobalModel.getODDForDocument(AbstractDocumentInterface doc)
           
 OpenDefinitionsDocument AlreadyOpenException.getOpenDocument()
           
 OpenDefinitionsDocument[] AlreadyOpenException.getOpenDocuments()
           
private  OpenDefinitionsDocument AbstractGlobalModel.getPrevDocHelper(OpenDefinitionsDocument prevdoc)
           
 OpenDefinitionsDocument AbstractGlobalModel.getPrevDocument(OpenDefinitionsDocument d)
          Returns the ODD preceding the given document in the document list.
 OpenDefinitionsDocument AbstractGlobalModel.newFile()
          Creates a new document, adds it to the list of open documents, and sets it to be active.
 OpenDefinitionsDocument GlobalModel.newFile()
          Creates a new document in the definitions pane and adds it to the list of open documents.
 OpenDefinitionsDocument DummyGlobalModel.newFile()
           
 OpenDefinitionsDocument AbstractGlobalModel.newFile(File parentDir)
          Creates a new open definitions document and adds it to the list.
 OpenDefinitionsDocument AbstractGlobalModel.newFile(File parentDir, String text)
          Creates a new open definitions document and adds it to the list.
 OpenDefinitionsDocument AbstractGlobalModel.newFile(String text)
          Creates a new document, adds it to the list of open documents, and sets it to be active.
 OpenDefinitionsDocument GlobalModel.newFile(String text)
          Creates a new document in the definitions pane, containing the specified text, and adds it to the list of open documents.
 OpenDefinitionsDocument DummyGlobalModel.newFile(String text)
           
 OpenDefinitionsDocument AbstractGlobalModel.newTestCase(String name, boolean makeSetUp, boolean makeTearDown)
          Creates a new junit test case.
 OpenDefinitionsDocument GlobalModel.newTestCase(String name, boolean makeSetUp, boolean makeTearDown)
          Creates a new junit test case.
 OpenDefinitionsDocument DummyGlobalModel.newTestCase(String name, boolean makeSetUp, boolean makeTearDown)
           
 OpenDefinitionsDocument AbstractGlobalModel.openFile(FileOpenSelector com)
          Open a file and add it to the pool of definitions documents.
 OpenDefinitionsDocument ILoadDocuments.openFile(FileOpenSelector com)
          Open a file and read it into the definitions.
 OpenDefinitionsDocument DummyGlobalModel.openFile(FileOpenSelector com)
           
protected  OpenDefinitionsDocument AbstractGlobalModel.openFileHelper(FileOpenSelector com)
           
 OpenDefinitionsDocument[] AbstractGlobalModel.openFiles(FileOpenSelector com)
          Open multiple files and add them to the pool of definitions documents.
 OpenDefinitionsDocument[] ILoadDocuments.openFiles(FileOpenSelector com)
          Opens multiple files and reads them into the definitions.
 OpenDefinitionsDocument[] DummyGlobalModel.openFiles(FileOpenSelector com)
           
protected  OpenDefinitionsDocument[] AbstractGlobalModel.openFilesHelper(FileOpenSelector com)
           
protected  OpenDefinitionsDocument GlobalModelTestCase.setupDocument(String text)
          Creates and returns a new document, makes sure newFile is fired, and then adds some text.
protected  OpenDefinitionsDocument SingleDisplayModelTest.setupDocument(String text)
          Creates and returns a new document, makes sure newFile and activeDocumentChanged events are fired, and then adds some text.
 

Methods in edu.rice.cs.drjava.model that return types with arguments of type OpenDefinitionsDocument
 List<OpenDefinitionsDocument> AbstractGlobalModel.getAuxiliaryDocuments()
          Returns the OpenDefinitionsDocuments that are identified as auxiliary project source files.
 List<OpenDefinitionsDocument> GlobalModel.getAuxiliaryDocuments()
           
 List<OpenDefinitionsDocument> DummyGlobalModel.getAuxiliaryDocuments()
           
 IDocumentNavigator<OpenDefinitionsDocument> AbstractGlobalModel.getDocumentNavigator()
           
 IDocumentNavigator<OpenDefinitionsDocument> GlobalModel.getDocumentNavigator()
          Gets the DocumentNavigator, which controls the document view.
 IDocumentNavigator<OpenDefinitionsDocument> DummyGlobalModel.getDocumentNavigator()
           
 Set<OpenDefinitionsDocument> RegionManager.getDocuments()
           
 Set<OpenDefinitionsDocument> ConcreteRegionManager.getDocuments()
           
 List<OpenDefinitionsDocument> AbstractGlobalModel.getLLOpenDefinitionsDocuments()
          Returns a new collection of all language level documents currently open for editing.
 List<OpenDefinitionsDocument> GlobalModel.getLLOpenDefinitionsDocuments()
          Returns a collection of language level documents.
 List<OpenDefinitionsDocument> DummyGlobalModel.getLLOpenDefinitionsDocuments()
           
 List<OpenDefinitionsDocument> AbstractGlobalModel.getNonProjectDocuments()
          Returns the OpenDefinitionsDocuments that are NOT identified as project source files.
 List<OpenDefinitionsDocument> GlobalModel.getNonProjectDocuments()
          Returns a list of OpenDefinitionsDocuments that do not belong to the currently active project.
If no project is active, all documents are returned.
 List<OpenDefinitionsDocument> DummyGlobalModel.getNonProjectDocuments()
           
 List<OpenDefinitionsDocument> AbstractGlobalModel.getOpenDefinitionsDocuments()
          Returns a new collection of all documents currently open for editing.
 List<OpenDefinitionsDocument> GlobalModel.getOpenDefinitionsDocuments()
          Returns a collection of all documents currently open for editing.
 List<OpenDefinitionsDocument> DummyGlobalModel.getOpenDefinitionsDocuments()
           
 List<OpenDefinitionsDocument> TestDocGetter.getOpenDefinitionsDocuments()
           
 List<OpenDefinitionsDocument> AbstractGlobalModel.getOutOfSyncDocuments()
           
 List<OpenDefinitionsDocument> GlobalModel.getOutOfSyncDocuments()
           
 List<OpenDefinitionsDocument> DummyGlobalModel.getOutOfSyncDocuments()
           
 List<OpenDefinitionsDocument> AbstractGlobalModel.getOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)
           
 List<OpenDefinitionsDocument> GlobalModel.getOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)
           
 List<OpenDefinitionsDocument> DummyGlobalModel.getOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)
           
 List<OpenDefinitionsDocument> AbstractGlobalModel.getProjectDocuments()
          Returns the OpenDefinitionsDocuments that are identified as project source files.
 List<OpenDefinitionsDocument> GlobalModel.getProjectDocuments()
          Teturns a list of OpenDefinitionsDocuments that do belong to the currently active project.
If no project is active, no documents are returned.
 List<OpenDefinitionsDocument> DummyGlobalModel.getProjectDocuments()
           
 List<OpenDefinitionsDocument> AbstractGlobalModel.getSortedOpenDefinitionsDocuments()
           
 List<OpenDefinitionsDocument> DummyGlobalModel.getSortedOpenDefinitionsDocuments()
           
 

Methods in edu.rice.cs.drjava.model with parameters of type OpenDefinitionsDocument
private  void GlobalIndentTest._assertContents(String expected, OpenDefinitionsDocument document)
           
private  void GlobalIndentTest._assertLocation(int loc, OpenDefinitionsDocument openDoc)
           
private  void AbstractGlobalModel._completeOpenFile(OpenDefinitionsDocument d)
           
private  FindResult FindReplaceMachine._findNextInDoc(OpenDefinitionsDocument doc, int start, int len, boolean searchAll)
          Finds next match in specified doc only.
private  FindResult FindReplaceMachine._findNextInDocSegment(OpenDefinitionsDocument doc, int start, int len)
          Find first valid match withing specified segment of doc.
private  FindResult FindReplaceMachine._findNextInDocSegment(OpenDefinitionsDocument doc, int start, int len, boolean wrapped, boolean allWrapped)
          Main helper method for findNext...
private  FindResult FindReplaceMachine._findNextInOtherDocs(OpenDefinitionsDocument startDoc, int start, int len)
          Searches all documents following startDoc for _findWord, cycling through the documents in the direction specified by _isForward.
private  FindResult FindReplaceMachine._findWrapped(OpenDefinitionsDocument doc, int start, int len, boolean allWrapped)
          Helper method for findNext that looks for a match after searching has wrapped off the "end" (start if searching backward) of the document.
private  boolean FindReplaceMachine._shouldIgnore(int foundOffset, OpenDefinitionsDocument odd)
          Returns true if the currently found instance should be ignored (either because it is inside a string or comment or because it does not match the whole word when either or both of those conditions are set to true).
private  void FindReplaceMachineTest._testFindNextSucceeds(FindReplaceMachine frm, int start, int found, OpenDefinitionsDocument doc)
           
 void AbstractGlobalModel.aboutToSaveFromSaveAll(OpenDefinitionsDocument doc)
          If the document is untitled, brings it to the top so that the user will know which is being saved.
 void GlobalModelListener.activeDocumentChanged(OpenDefinitionsDocument active)
          Called when a new active document is selected
 void GlobalModelTestCase.TestListener.activeDocumentChanged(OpenDefinitionsDocument active)
           
 void SingleDisplayModelTest.SDTestListener.activeDocumentChanged(OpenDefinitionsDocument doc)
           
 void DummyGlobalModelListener.activeDocumentChanged(OpenDefinitionsDocument active)
           
 void GlobalEventNotifier.activeDocumentChanged(OpenDefinitionsDocument active)
          Called when the selection in the navigator changes the active document.
 void GlobalModelListener.activeDocumentRefreshed(OpenDefinitionsDocument active)
          Called when the active document is refreshed
 void GlobalModelTestCase.TestListener.activeDocumentRefreshed(OpenDefinitionsDocument active)
           
 void SingleDisplayModelTest.SDTestListener.activeDocumentRefreshed(OpenDefinitionsDocument doc)
           
 void DummyGlobalModelListener.activeDocumentRefreshed(OpenDefinitionsDocument active)
           
 void GlobalEventNotifier.activeDocumentRefreshed(OpenDefinitionsDocument active)
          Called when the active document is refreshed.
 void AbstractGlobalModel.addAuxiliaryFile(OpenDefinitionsDocument doc)
          Adds a document to the list of auxiliary files within _state.
 void GlobalModel.addAuxiliaryFile(OpenDefinitionsDocument doc)
          Adds a document to the list of auxiliary files.
 void DummyGlobalModel.addAuxiliaryFile(OpenDefinitionsDocument doc)
           
protected  void AbstractGlobalModel.addDocToClassPath(OpenDefinitionsDocument doc)
          Add a document to the classpath for the slave JVM.
protected  void DefaultGlobalModel.addDocToClassPath(OpenDefinitionsDocument doc)
          Adds the source root for doc to the interactions classpath; this function is a helper to _openFiles.
protected  void AbstractGlobalModel.addDocToNavigator(OpenDefinitionsDocument doc)
          Creates an iNavigatorItem for a document, and adds it to the navigator.
protected  void SingleDisplayModelTest.assertActiveDocument(OpenDefinitionsDocument doc)
           
protected  void GlobalModelTestCase.assertContents(String s, OpenDefinitionsDocument doc)
           
protected  void GlobalModelTestCase.assertLength(int len, OpenDefinitionsDocument doc)
           
protected  void GlobalModelTestCase.assertModified(boolean b, OpenDefinitionsDocument doc)
           
 boolean GlobalModelListener.canAbandonFile(OpenDefinitionsDocument doc)
          Called to ask the listener if it is OK to abandon the current document.
 boolean GlobalModelTestCase.TestListener.canAbandonFile(OpenDefinitionsDocument doc)
           
 boolean DummyGlobalModelListener.canAbandonFile(OpenDefinitionsDocument doc)
          Called to ask the listener if it is OK to abandon the current document.
 boolean GlobalEventNotifier.canAbandonFile(OpenDefinitionsDocument doc)
          Called to ask the listeners if it is OK to abandon the current document.
protected  void GlobalModelTestCase.changeDocumentText(String s, OpenDefinitionsDocument doc)
          Clear all old text and insert the given text.
 boolean AbstractGlobalModel.closeFile(OpenDefinitionsDocument doc)
          Closes an open definitions document, prompting to save if the document has been changed.
 boolean GlobalModel.closeFile(OpenDefinitionsDocument doc)
          Closes an open definitions document, prompting to save if the document has been changed.
 boolean DummyGlobalModel.closeFile(OpenDefinitionsDocument doc)
           
protected  boolean AbstractGlobalModel.closeFileHelper(OpenDefinitionsDocument doc)
          Helper for closeFile.
 boolean AbstractGlobalModel.closeFileWithoutPrompt(OpenDefinitionsDocument doc)
          Closes an open definitions document, without prompting to save if the document has been changed.
 boolean GlobalModel.closeFileWithoutPrompt(OpenDefinitionsDocument doc)
          Closes an open definitions document, without prompting to save if the document has been changed.
 boolean DummyGlobalModel.closeFileWithoutPrompt(OpenDefinitionsDocument doc)
           
 int AbstractGlobalModel.ConcreteOpenDefDoc.compareTo(OpenDefinitionsDocument o)
          Orders ODDs by their lexical names.
 int DummyOpenDefDoc.compareTo(OpenDefinitionsDocument d)
           
 void GlobalModelTestCase.CompileShouldSucceedListener.compile(OpenDefinitionsDocument doc)
           
 void GlobalModelTestCase.CompileShouldFailListener.compile(OpenDefinitionsDocument doc)
           
private static Position DocumentRegionTest.createPosition(OpenDefinitionsDocument doc, int i)
           
protected  void GlobalModelTestCase.doCompile(OpenDefinitionsDocument doc, File file)
          Saves to the given file, and then compiles the given document.
 void GlobalModelListener.documentNotFound(OpenDefinitionsDocument d, File f)
          Called when the a document, already opened, is brought back into the cache, and it no longer exists on disk or cannot be accessed.
 void GlobalModelTestCase.TestListener.documentNotFound(OpenDefinitionsDocument d, File f)
           
 void DummyGlobalModelListener.documentNotFound(OpenDefinitionsDocument d, File f)
           
 void GlobalEventNotifier.documentNotFound(OpenDefinitionsDocument d, File f)
           
 void LightWeightParsingListener.enclosingClassNameUpdated(OpenDefinitionsDocument doc, String old, String updated)
          Gets called when the enclosing class name of a document was updated.
 void GlobalModelListener.fileClosed(OpenDefinitionsDocument doc)
          Called after a document is closed.
 void GlobalModelIOTest.TestIOListener.fileClosed(OpenDefinitionsDocument doc)
           
 void GlobalModelTestCase.TestListener.fileClosed(OpenDefinitionsDocument doc)
           
 void DummyGlobalModelListener.fileClosed(OpenDefinitionsDocument doc)
          Called after a document is closed.
 void GlobalEventNotifier.fileClosed(OpenDefinitionsDocument doc)
          Called after a document is closed.
 void GlobalModelListener.fileOpened(OpenDefinitionsDocument doc)
          Called after a file is opened and read into the current document.
 void GlobalModelIOTest.TestIOListener.fileOpened(OpenDefinitionsDocument doc)
           
 void GlobalModelIOTest.TestFileIOListener.fileOpened(OpenDefinitionsDocument doc)
           
 void GlobalModelTestCase.TestListener.fileOpened(OpenDefinitionsDocument doc)
           
 void DummyGlobalModelListener.fileOpened(OpenDefinitionsDocument doc)
          Called after a file is opened and read into the current document.
 void GlobalEventNotifier.fileOpened(OpenDefinitionsDocument doc)
          Called after a file is opened and read into the current document.
 void GlobalModelListener.fileReverted(OpenDefinitionsDocument doc)
          Called after a document is reverted.
 void GlobalModelTestCase.TestListener.fileReverted(OpenDefinitionsDocument doc)
           
 void DummyGlobalModelListener.fileReverted(OpenDefinitionsDocument doc)
          Called after a document is reverted.
 void GlobalEventNotifier.fileReverted(OpenDefinitionsDocument doc)
          Called after a document is reverted.
 void GlobalModelListener.fileSaved(OpenDefinitionsDocument doc)
          Called after the current document is saved.
 void GlobalModelTestCase.TestListener.fileSaved(OpenDefinitionsDocument doc)
           
 void GlobalModelJUnitTest.JUnitCompileBeforeTestListener.fileSaved(OpenDefinitionsDocument doc)
           
 void DummyGlobalModelListener.fileSaved(OpenDefinitionsDocument doc)
          Called after the current document is saved.
 void GlobalEventNotifier.fileSaved(OpenDefinitionsDocument doc)
          Called after the current document is saved.
 String LightWeightParsingControl.getEnclosingClassName(OpenDefinitionsDocument doc)
          Return the last enclosing class name for the specified document, "" if not inside a class, or null if unknown.
 String DefaultLightWeightParsingControl.getEnclosingClassName(OpenDefinitionsDocument doc)
          Return the last enclosing class name for the specified document, "" if not inside a class, or null if unknown.
private  OpenDefinitionsDocument AbstractGlobalModel.getNextDocHelper(OpenDefinitionsDocument nextdoc, Component frame)
          Checks that the document exists, and if it doesn't, asks if the user wants to continue.
 OpenDefinitionsDocument AbstractGlobalModel.getNextDocument(OpenDefinitionsDocument d)
          Returns the ODD preceding the given document in the document list.
 OpenDefinitionsDocument AbstractGlobalModel.getNextDocument(OpenDefinitionsDocument d, Component frame)
          Returns the ODD preceding the given document in the document list.
private  OpenDefinitionsDocument AbstractGlobalModel.getPrevDocHelper(OpenDefinitionsDocument prevdoc)
           
 OpenDefinitionsDocument AbstractGlobalModel.getPrevDocument(OpenDefinitionsDocument d)
          Returns the ODD preceding the given document in the document list.
 R RegionManager.getRegionAt(OpenDefinitionsDocument odd, int offset)
          Returns the unique region [start,end), if any, containing the specified offset.
 R ConcreteRegionManager.getRegionAt(OpenDefinitionsDocument odd, int offset)
          Returns the region [start, end) containing offset.
 Pair<R,R> RegionManager.getRegionInterval(OpenDefinitionsDocument odd, int offset)
          Returns the first and last region r where r.getLineStart() <= offset < r.getLineEnd().
 Pair<R,R> ConcreteRegionManager.getRegionInterval(OpenDefinitionsDocument odd, int offset)
          Finds the interval of regions in odd such that the line label (excerpt) for the region contains offset.
 SortedSet<R> RegionManager.getRegions(OpenDefinitionsDocument odd)
           
 SortedSet<R> ConcreteRegionManager.getRegions(OpenDefinitionsDocument odd)
           
 Collection<R> RegionManager.getRegionsOverlapping(OpenDefinitionsDocument odd, int startOffset, int endOffset)
          Returns the rightmost region starting on the same line containing the specified selection
 Collection<R> ConcreteRegionManager.getRegionsOverlapping(OpenDefinitionsDocument odd, int startOffset, int endOffset)
          Returns the set of regions in the given document that overlap the specified interval [startOffset, endOffset), including degenerate regions [offset, offset) where [offset, offset] is a subset of (startOffset, endOffset).
 void GlobalModelListener.handleAlreadyOpenDocument(OpenDefinitionsDocument doc)
          Performs any UI related steps to handle the case in which a file is being opened that is already open and modified.
 void GlobalModelTestCase.TestListener.handleAlreadyOpenDocument(OpenDefinitionsDocument doc)
           
 void DummyGlobalModelListener.handleAlreadyOpenDocument(OpenDefinitionsDocument doc)
           
 void GlobalEventNotifier.handleAlreadyOpenDocument(OpenDefinitionsDocument doc)
          Performs any UI related steps to handle the case in which a file is being opened that is already open and modified.
 boolean AbstractGlobalModel.inProjectPath(OpenDefinitionsDocument doc)
          A file is in the project if the source root is the same as the project root.
 boolean AbstractGlobalModel.ProjectFileGroupingState.inProjectPath(OpenDefinitionsDocument doc)
          Determines whether the specified doc in within the project file tree.
 boolean AbstractGlobalModel.FlatFileGroupingState.inProjectPath(OpenDefinitionsDocument doc)
           
 boolean GlobalModel.inProjectPath(OpenDefinitionsDocument doc)
          A file is in the project if the source root is the same as the project root.
 boolean DummyGlobalModel.inProjectPath(OpenDefinitionsDocument doc)
           
 boolean FileGroupingState.inProjectPath(OpenDefinitionsDocument doc)
           
private
<T> T
ConcreteRegionManager.newDocumentRegion(OpenDefinitionsDocument odd, int start, int end)
          Convinces the type checker to accept a DocumentRegion as an R.
 void GlobalModelListener.newFileCreated(OpenDefinitionsDocument doc)
          Called after a new document is created.
 void GlobalModelTestCase.TestListener.newFileCreated(OpenDefinitionsDocument doc)
           
 void GlobalModelTestCase.CompileShouldSucceedListener.newFileCreated(OpenDefinitionsDocument doc)
           
 void DummyGlobalModelListener.newFileCreated(OpenDefinitionsDocument doc)
          Called after a new document is created.
 void GlobalEventNotifier.newFileCreated(OpenDefinitionsDocument doc)
          Called after a new document is created.
 void GlobalModelListener.prepareForRun(OpenDefinitionsDocument doc)
          Called when a file's main method is about to be run.
 void GlobalModelTestCase.TestListener.prepareForRun(OpenDefinitionsDocument doc)
           
 void DummyGlobalModelListener.prepareForRun(OpenDefinitionsDocument doc)
          Called when a file's main method is about to be run.
 void GlobalEventNotifier.prepareForRun(OpenDefinitionsDocument doc)
          Called when a file's main method is about to be run.
 boolean GlobalModelListener.quitFile(OpenDefinitionsDocument doc)
          Called to ask the listener if this document should be saved before quitting.
 boolean GlobalModelTestCase.TestListener.quitFile(OpenDefinitionsDocument doc)
           
 boolean DummyGlobalModelListener.quitFile(OpenDefinitionsDocument doc)
          Called to ask the listener if the document should be saved before quitting.
 boolean GlobalEventNotifier.quitFile(OpenDefinitionsDocument doc)
          Called to ask the listeners save the file before quitting at the user's option.
 void AbstractGlobalModel.removeAuxiliaryFile(OpenDefinitionsDocument doc)
          Removes a document from the list of auxiliary files within _state.
 void GlobalModel.removeAuxiliaryFile(OpenDefinitionsDocument doc)
          Removes a document from the list of auxiliary files.
 void DummyGlobalModel.removeAuxiliaryFile(OpenDefinitionsDocument doc)
           
 void RegionManager.removeRegions(OpenDefinitionsDocument odd)
          Remove the given OpenDefinitionsDocument and all of its regions from the manager.
 void ConcreteRegionManager.removeRegions(OpenDefinitionsDocument doc)
          Remove the specified document from _documents and _regions (removing all of its contained regions).
 void GlobalModelTestCase.JUnitTestListener.runJUnit(OpenDefinitionsDocument doc)
          Runs JUnit on doc to completion.
protected  void GlobalModelTestCase.saveFile(OpenDefinitionsDocument doc, FileSaveSelector fss)
          Invokes doc.saveFile from within the event thread.
protected  void GlobalModelTestCase.saveFileAs(OpenDefinitionsDocument doc, FileSaveSelector fss)
          Invokes doc.saveFileAs from within the event thread.
protected  void GlobalModelTestCase.saveFileCopy(OpenDefinitionsDocument doc, FileSaveSelector fss)
          Invokes doc.saveFileCopy from within the event thread.
 void AbstractGlobalModel.setActiveDocument(OpenDefinitionsDocument doc)
          Sets the currently active document by updating the selection model.
 void SingleDisplayModel.setActiveDocument(OpenDefinitionsDocument doc)
          Sets the currently active document by updating the selection model.
 void FindReplaceMachine.setDocument(OpenDefinitionsDocument doc)
           
 void FindReplaceMachine.setFirstDoc(OpenDefinitionsDocument firstDoc)
           
 boolean GlobalModelListener.shouldRevertFile(OpenDefinitionsDocument doc)
          Called to ask the listener if it is OK to revert the current document to the version saved on disk.
 boolean GlobalModelTestCase.TestListener.shouldRevertFile(OpenDefinitionsDocument doc)
           
 boolean DummyGlobalModelListener.shouldRevertFile(OpenDefinitionsDocument doc)
          Called to ask the listener if it is OK to replace the current document by a newer version on disk.
 boolean GlobalEventNotifier.shouldRevertFile(OpenDefinitionsDocument doc)
          Called to ask the listeners if it is OK to revert the current document to the version saved on disk.
 boolean AbstractGlobalModel.TrivialFSS.shouldSaveAfterFileMoved(OpenDefinitionsDocument doc, File oldFile)
           
 boolean GlobalModelTestCase.WarningFileSelector.shouldSaveAfterFileMoved(OpenDefinitionsDocument doc, File oldFile)
           
 boolean GlobalModelTestCase.FileSelector.shouldSaveAfterFileMoved(OpenDefinitionsDocument doc, File oldFile)
           
 boolean GlobalModelTestCase.CancelingSelector.shouldSaveAfterFileMoved(OpenDefinitionsDocument doc, File oldFile)
           
 boolean FileSaveSelector.shouldSaveAfterFileMoved(OpenDefinitionsDocument doc, File oldFile)
          Confirms whether a new file should be selected since the previously chosen file has been deleted or moved.
protected static void GlobalModelTestCase.testStartCompile(OpenDefinitionsDocument doc)
          Invokes startCompile on the given document in the event thread.
 void LightWeightParsingControl.update(OpenDefinitionsDocument doc)
          Perform light-weight parsing on the document if the delay has been exceeded.
 void DefaultLightWeightParsingControl.update(OpenDefinitionsDocument doc)
          Perform light-weight parsing.
private  boolean FindReplaceMachine.wholeWordFoundAtCurrent(OpenDefinitionsDocument doc, int foundOffset)
          Determines whether the whole find word is found at the input position.
 

Method parameters in edu.rice.cs.drjava.model with type arguments of type OpenDefinitionsDocument
private  void AbstractGlobalModel._ensureNotActive(List<OpenDefinitionsDocument> docs)
          Makes sure that none of the documents in the list are active.
 ProjectProfile AbstractGlobalModel._makeProjectProfile(File file, HashMap<OpenDefinitionsDocument,DocumentInfoGetter> info)
          Writes the project profile augmented by usage info to specified file.
 boolean AbstractGlobalModel.closeFiles(List<OpenDefinitionsDocument> docs)
          This function closes a group of files assuming that the files are contiguous in the enumeration provided by the document navigator.
 boolean GlobalModel.closeFiles(List<OpenDefinitionsDocument> docs)
          This function closes a group of files assuming that the files are contiguous in the enumeration provided by the document navigator.
 boolean DummyGlobalModel.closeFiles(List<OpenDefinitionsDocument> docs)
           
 boolean SingleDisplayModel.closeFiles(List<OpenDefinitionsDocument> docList)
          Shared code between close project and close All files which only sets the new active document after all documents to be closed have been closed.
 void GlobalModelTestCase.TestListener.compileBeforeJUnit(CompilerListener cl, List<OpenDefinitionsDocument> outOfSync)
           
 void GlobalModelJUnitTest.JUnitCompileBeforeTestListener.compileBeforeJUnit(CompilerListener testAfterCompile, List<OpenDefinitionsDocument> outOfSync)
           
 void DummyGlobalModelListener.compileBeforeJUnit(CompilerListener l, List<OpenDefinitionsDocument> outOfSync)
          Called to demand that all class file must be in sync before running unit tests.
 void GlobalEventNotifier.compileBeforeJUnit(CompilerListener cl, List<OpenDefinitionsDocument> outOfSync)
          Called before attempting unit testing if tested class files are out of sync, to give the user a chance to save.
 void AbstractGlobalModel.exportOldProject(File file, HashMap<OpenDefinitionsDocument,DocumentInfoGetter> info)
          Writes the project profile in the old project format.
 List<OpenDefinitionsDocument> AbstractGlobalModel.getOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)
           
 List<OpenDefinitionsDocument> GlobalModel.getOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)
           
 List<OpenDefinitionsDocument> DummyGlobalModel.getOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)
           
 boolean AbstractGlobalModel.hasModifiedDocuments(List<OpenDefinitionsDocument> lod)
          Checks if any given documents have been modified since last being saved.
 boolean GlobalModel.hasModifiedDocuments(List<OpenDefinitionsDocument> lod)
          Checks if any of the given documents have been modified since last being saved.
 boolean DummyGlobalModel.hasModifiedDocuments(List<OpenDefinitionsDocument> lod)
           
 boolean AbstractGlobalModel.hasOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)
           
 boolean GlobalModel.hasOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)
           
 boolean DummyGlobalModel.hasOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)
           
 void AbstractGlobalModel.reloadProject(File file, HashMap<OpenDefinitionsDocument,DocumentInfoGetter> info)
           
 void GlobalModel.reloadProject(File f, HashMap<OpenDefinitionsDocument,DocumentInfoGetter> info)
          Reloads a project without writing to disk.
 void DummyGlobalModel.reloadProject(File f, HashMap<OpenDefinitionsDocument,DocumentInfoGetter> ht)
           
 void AbstractGlobalModel.saveProject(File file, HashMap<OpenDefinitionsDocument,DocumentInfoGetter> info)
          Writes the project profile augmented by usage info to specified file.
 void GlobalModel.saveProject(File f, HashMap<OpenDefinitionsDocument,DocumentInfoGetter> info)
          Writes the project file to disk
 void DummyGlobalModel.saveProject(File f, HashMap<OpenDefinitionsDocument,DocumentInfoGetter> ht)
           
 void AbstractGlobalModel.setDocumentNavigator(IDocumentNavigator<OpenDefinitionsDocument> newnav)
           
 void GlobalModel.setDocumentNavigator(IDocumentNavigator<OpenDefinitionsDocument> newnav)
           
 void DummyGlobalModel.setDocumentNavigator(IDocumentNavigator<OpenDefinitionsDocument> newnav)
           
 

Constructors in edu.rice.cs.drjava.model with parameters of type OpenDefinitionsDocument
AlreadyOpenException(OpenDefinitionsDocument doc)
          Exception indicating that the requested file is already open.
AlreadyOpenException(OpenDefinitionsDocument[] docs)
           
BrowserDocumentRegion(OpenDefinitionsDocument doc, Position sp, Position ep)
          Create a new simple document region with a bona fide document.
DocumentClosedException(OpenDefinitionsDocument d, String s)
          Creates a DocumentClosedException for the given file
DocumentRegion(OpenDefinitionsDocument doc, int start, int end)
          Create a new simple document region with a bona fide document
FindResult(OpenDefinitionsDocument document, int foundoffset, boolean wrapped, boolean allWrapped)
          Constructor for a FindResult.
MovingDocumentRegion(OpenDefinitionsDocument doc, int start, int end, int lineStart, int lineEnd)
          Create a new moving document region.
 

Uses of OpenDefinitionsDocument in edu.rice.cs.drjava.model.cache
 

Fields in edu.rice.cs.drjava.model.cache with type parameters of type OpenDefinitionsDocument
private  HashMap<OpenDefinitionsDocument,DCacheAdapter> DocumentCacheTest._adapterTable
           
 

Methods in edu.rice.cs.drjava.model.cache that return OpenDefinitionsDocument
 OpenDefinitionsDocument DocumentCacheTest.TestGlobalModel.newFile()
           
protected  OpenDefinitionsDocument DocumentCacheTest.openFile(File f)
           
 OpenDefinitionsDocument DocumentCacheTest.TestGlobalModel.openFile(FileOpenSelector fs)
           
 OpenDefinitionsDocument[] DocumentCacheTest.TestGlobalModel.openFiles(FileOpenSelector com)
           
 

Methods in edu.rice.cs.drjava.model.cache with parameters of type OpenDefinitionsDocument
 void DocumentCacheTest.TestGlobalModel.aboutToSaveFromSaveAll(OpenDefinitionsDocument doc)
           
 boolean DocumentCacheTest.TestGlobalModel.closeFile(OpenDefinitionsDocument doc)
           
private  void DocumentCache.notifyRegistrationListeners(OpenDefinitionsDocument odd, DocumentCache.DocManager man)
           
 DCacheAdapter DocumentCache.register(OpenDefinitionsDocument odd, DDReconstructor rec)
          Returns a cache adapter corresponding to the owner of the given reconstructor.
 void DocumentCache.RegistrationListener.registered(OpenDefinitionsDocument odd, DCacheAdapter man)
           
 

Uses of OpenDefinitionsDocument in edu.rice.cs.drjava.model.compiler
 

Methods in edu.rice.cs.drjava.model.compiler with parameters of type OpenDefinitionsDocument
 void DefaultCompilerModel.compile(OpenDefinitionsDocument doc)
          Compiles the given file.
 void CompilerModel.compile(OpenDefinitionsDocument doc)
          Compiles a single document which must be saved first.
 DJError CompilerErrorModel.getErrorAtOffset(OpenDefinitionsDocument odd, int offset)
          This method finds and returns the error that is at the given offset
 boolean CompilerErrorModel.hasErrorsWithPositions(OpenDefinitionsDocument odd)
          This function tells if there are errors with source locations associated with the given file.
 

Method parameters in edu.rice.cs.drjava.model.compiler with type arguments of type OpenDefinitionsDocument
private  void DefaultCompilerModel._doCompile(List<OpenDefinitionsDocument> docs)
          Compile the given documents.
 void DefaultCompilerModel.compile(List<OpenDefinitionsDocument> defDocs)
          Compiles all of the given files.
 void CompilerModel.compile(List<OpenDefinitionsDocument> docs)
          Compiles the specified documents which must be saved first.
 

Uses of OpenDefinitionsDocument in edu.rice.cs.drjava.model.debug
 

Methods in edu.rice.cs.drjava.model.debug that return OpenDefinitionsDocument
protected  OpenDefinitionsDocument DebugTestCase._startupDebugger(File file, String classText)
          Cleanly starts the debugger with a newly compiled file saved in a temporary directory.
protected  OpenDefinitionsDocument DebugTestCase._startupDebugger(String fileName, String classText)
          Cleanly starts the debugger with a newly compiled file saved in a temporary directory.
 

Methods in edu.rice.cs.drjava.model.debug with parameters of type OpenDefinitionsDocument
 void DebugEventNotifier.threadLocationUpdated(OpenDefinitionsDocument doc, int lineNumber, boolean shouldHighlight)
          Called when the given line is reached by the current thread in the debugger, to request that the line be displayed.
 void DebugListener.threadLocationUpdated(OpenDefinitionsDocument doc, int lineNumber, boolean shouldHighlight)
          Called when the given line is reached by the current thread in the debugger, to request that the line be displayed.
 void DebugTestCase.DebugTestListener.threadLocationUpdated(OpenDefinitionsDocument doc, int lineNumber, boolean shouldHighlight)
           
 void DebugTestCase.BreakpointTestListener.threadLocationUpdated(OpenDefinitionsDocument doc, int lineNumber, boolean shouldHighlight)
           
 boolean NoDebuggerAvailable.toggleBreakpoint(OpenDefinitionsDocument doc, int offset, boolean isEnabled)
          Toggles whether a breakpoint is set at the given line in the given document.
 boolean Debugger.toggleBreakpoint(OpenDefinitionsDocument doc, int offset, boolean isEnabled)
          Toggles whether a breakpoint is set at the given line in the given document.
 

Uses of OpenDefinitionsDocument in edu.rice.cs.drjava.model.debug.jpda
 

Fields in edu.rice.cs.drjava.model.debug.jpda declared as OpenDefinitionsDocument
protected  OpenDefinitionsDocument DocumentDebugAction._doc
           
private  OpenDefinitionsDocument JPDABreakpoint._doc
          Note that _position, which records the breakpoint position, is inherited from DocumentDebugAction.
 

Methods in edu.rice.cs.drjava.model.debug.jpda that return OpenDefinitionsDocument
 OpenDefinitionsDocument DocumentDebugAction.getDocument()
          Returns the document this DebugAction occurs in.
 

Methods in edu.rice.cs.drjava.model.debug.jpda that return types with arguments of type OpenDefinitionsDocument
 Pair<com.sun.jdi.Location,OpenDefinitionsDocument> JPDADebugger.preloadDocument(com.sun.jdi.Location location)
          Return the adjusted location (identical to input unless the matching document is a LL file) and document associated with this location generated by the JVM and hence associated with a conventional Java (not an LL) file.
 

Methods in edu.rice.cs.drjava.model.debug.jpda with parameters of type OpenDefinitionsDocument
private  void JPDADebugger.openAndScroll(OpenDefinitionsDocument doc, int line, String className, boolean shouldHighlight)
          Opens a document and scrolls to the appropriate location.
private  void JPDADebugger.openAndScroll(OpenDefinitionsDocument doc, com.sun.jdi.Location location, boolean shouldHighlight)
          Opens a document and scrolls to the appropriate location.
 boolean JPDADebugger.toggleBreakpoint(OpenDefinitionsDocument doc, int offset, boolean isEnabled)
          Toggles whether a breakpoint is set at the given line in the given document.
 

Constructors in edu.rice.cs.drjava.model.debug.jpda with parameters of type OpenDefinitionsDocument
DocumentDebugAction(JPDADebugger manager, OpenDefinitionsDocument doc, int offset)
          Creates a new DocumentDebugAction.
JPDABreakpoint(OpenDefinitionsDocument doc, int offset, boolean isEnabled, JPDADebugger manager)
           
 

Uses of OpenDefinitionsDocument in edu.rice.cs.drjava.model.definitions
 

Fields in edu.rice.cs.drjava.model.definitions declared as OpenDefinitionsDocument
private  OpenDefinitionsDocument DefinitionsDocument._odd
          This reference to the OpenDefinitionsDocument is needed so that the document iterator (the DefaultGlobalModel) can find the next ODD given a DD.
 

Methods in edu.rice.cs.drjava.model.definitions that return OpenDefinitionsDocument
 OpenDefinitionsDocument DefinitionsDocument.getOpenDefDoc()
           
 

Methods in edu.rice.cs.drjava.model.definitions with parameters of type OpenDefinitionsDocument
 void DefinitionsDocument.setOpenDefDoc(OpenDefinitionsDocument odd)
          Sets the OpenDefinitionsDocument that holds this DefinitionsDocument (the odd can only be set once).
 

Uses of OpenDefinitionsDocument in edu.rice.cs.drjava.model.javadoc
 

Methods in edu.rice.cs.drjava.model.javadoc with parameters of type OpenDefinitionsDocument
private  File DefaultJavadocModel._getFileFromDocument(OpenDefinitionsDocument doc, FileSaveSelector saver)
          Attempts to get the file from the given document.
 void DefaultJavadocModel.javadocDocument(OpenDefinitionsDocument doc, FileSaveSelector saver)
          Generates Javadoc for the given document only, after ensuring it is saved.
 void JavadocModel.javadocDocument(OpenDefinitionsDocument doc, FileSaveSelector saver)
          Generates Javadoc for the given document only, after ensuring it is saved.
 void NoJavadocAvailable.javadocDocument(OpenDefinitionsDocument doc, FileSaveSelector saver)
          Generates Javadoc for the given document only, after ensuring it is saved.
 File DefaultJavadocModel.suggestJavadocDestination(OpenDefinitionsDocument doc)
          Suggests a default location for generating Javadoc, based on the given document's source root.
 File JavadocModel.suggestJavadocDestination(OpenDefinitionsDocument doc)
          Suggests a default location for generating Javadoc, based on the given document's source root.
 File NoJavadocAvailable.suggestJavadocDestination(OpenDefinitionsDocument doc)
          Suggests a default location for generating Javadoc, based on the given document's source root.
 

Uses of OpenDefinitionsDocument in edu.rice.cs.drjava.model.junit
 

Methods in edu.rice.cs.drjava.model.junit with parameters of type OpenDefinitionsDocument
 void DefaultJUnitModel.junit(OpenDefinitionsDocument doc)
          Runs JUnit on the current document.
 void JUnitModel.junit(OpenDefinitionsDocument doc)
          Runs JUnit over a single document.
 

Method parameters in edu.rice.cs.drjava.model.junit with type arguments of type OpenDefinitionsDocument
private  void DefaultJUnitModel._notifyCompileBeforeJUnit(CompilerListener testAfterCompile, List<OpenDefinitionsDocument> outOfSync)
          Helper method to notify JUnitModel listeners that all open files must be compiled before JUnit is run.
private  void DefaultJUnitModel._rawJUnitOpenDefDocs(List<OpenDefinitionsDocument> lod, boolean allTests)
          Runs all TestCases in the document list lod; assumes all documents have been compiled.
 void JUnitListener.compileBeforeJUnit(CompilerListener l, List<OpenDefinitionsDocument> outOfSync)
          Demands that all source files be in sync before running JUnit tests.
 void JUnitEventNotifier.compileBeforeJUnit(CompilerListener cl, List<OpenDefinitionsDocument> outOfSync)
          Called before JUnit is started by the DefaultJUnitModel.
 void DefaultJUnitModel.junitDocs(List<OpenDefinitionsDocument> lod)
           
 void JUnitModel.junitDocs(List<OpenDefinitionsDocument> lod)
          Runs JUnit over a list of documents.
private  void DefaultJUnitModel.junitOpenDefDocs(List<OpenDefinitionsDocument> lod, boolean allTests)
          Ensures that all documents have been compiled since their last modification and then delegates the actual testing to _rawJUnitOpenTestDocs.
 

Uses of OpenDefinitionsDocument in edu.rice.cs.drjava.ui
 

Fields in edu.rice.cs.drjava.ui declared as OpenDefinitionsDocument
private  OpenDefinitionsDocument DefinitionsPane._doc
          Our corresponding ODD
private  OpenDefinitionsDocument PreviewDefDocFrame._document
           
private  OpenDefinitionsDocument ErrorCaretListener._openDoc
           
private  OpenDefinitionsDocument MainFrame._pendingDocument
           
private  OpenDefinitionsDocument MainFrameStatics.GoToFileListEntry.doc
           
 

Fields in edu.rice.cs.drjava.ui with type parameters of type OpenDefinitionsDocument
private  HashMap<OpenDefinitionsDocument,JScrollPane> MainFrame._defScrollPanes
          Maps an OpenDefDoc to its JScrollPane.
(package private)  DisplayManager<OpenDefinitionsDocument> RecentDocFrame._displayManager
           
protected  WeakReference<OpenDefinitionsDocument> FindResultsPanel._doc
           
(package private)  LinkedList<OpenDefinitionsDocument> RecentDocFrame._docs
           
protected  HashMap<OpenDefinitionsDocument,DefaultMutableTreeNode> RegionsTreePanel._docToTreeNode
          A table mapping each document entered in this panel to its corresponding MutableTreeNode in _regTreeModel.
 

Methods in edu.rice.cs.drjava.ui that return OpenDefinitionsDocument
 OpenDefinitionsDocument RecentDocFrame.getDocument()
          Returns null if the list is empty, or the currently prefered OpenDefinitionsDocument.
 OpenDefinitionsDocument FindResultsPanel.getDocument()
          Return the document which was searched (or where the search started, if _searchAll is true).
 OpenDefinitionsDocument ErrorCaretListener.getOpenDefDoc()
          Gets the OpenDefinitionsDocument corresponding to this listener.
 OpenDefinitionsDocument DefinitionsPane.getOpenDefDocument()
          Get the OpenDefinitionsDocument contained in this DefinitionsPane.
abstract  OpenDefinitionsDocument MainFrameStatics.AutoCompletePopupEntry.getOpenDefinitionsDocument()
          Return the OpenDefinitionsDocument associated with this entry, or null if none.
 OpenDefinitionsDocument MainFrameStatics.GoToFileListEntry.getOpenDefinitionsDocument()
           
 OpenDefinitionsDocument MainFrameStatics.JavaAPIListEntry.getOpenDefinitionsDocument()
           
 

Methods in edu.rice.cs.drjava.ui that return types with arguments of type OpenDefinitionsDocument
 HashMap<OpenDefinitionsDocument,DocumentInfoGetter> MainFrame.gatherProjectDocInfo()
           
 

Methods in edu.rice.cs.drjava.ui with parameters of type OpenDefinitionsDocument
(package private)  JScrollPane MainFrame._createDefScrollPane(OpenDefinitionsDocument doc)
          Create new DefinitionsPane and JScrollPane for an open definitions document.
private  void MainFrame.ModelListener._fileClosed(OpenDefinitionsDocument doc)
          Does the work of closing a file
private  void MainFrame.ModelListener._fileOpened(OpenDefinitionsDocument doc)
           
private  boolean MainFrame.ModelListener._fileSaveHelper(OpenDefinitionsDocument doc, int paneOption)
           
private  void MainFrame._installNewDocumentListener(OpenDefinitionsDocument d)
          Makes sure save and compile buttons and menu items are enabled and disabled appropriately after document modifications.
private  DocumentInfoGetter MainFrame._makeInfoGetter(OpenDefinitionsDocument doc)
          Gets the information to be saved for a project document.
private  void MainFrame._removeErrorListener(OpenDefinitionsDocument doc)
          Removes the ErrorCaretListener corresponding to the given document, after that document has been closed.
private  void MainFrame._revert(OpenDefinitionsDocument doc)
           
private  void MainFrame._setCurrentDirectory(OpenDefinitionsDocument doc)
          Sets the current directory to be that of document's file.
 void DefinitionsPaneMemoryLeakTest.DocChangeListener.activeDocumentChanged(OpenDefinitionsDocument active)
           
 void MainFrame.ModelListener.activeDocumentChanged(OpenDefinitionsDocument active)
           
 void MainFrameTest.SingleDisplayModelCompileListener.activeDocumentChanged(OpenDefinitionsDocument active)
           
 void MainFrameTest.SingleDisplayModelFileOpenedListener.activeDocumentChanged(OpenDefinitionsDocument doc)
           
 void MainFrameTest.SingleDisplayModelFileClosedListener.activeDocumentChanged(OpenDefinitionsDocument active)
           
 void MainFrame.ModelListener.activeDocumentRefreshed(OpenDefinitionsDocument active)
           
 boolean MainFrame.ModelListener.canAbandonFile(OpenDefinitionsDocument doc)
          Check if the specified document has been modified.
 void RecentDocFrame.closeDocument(OpenDefinitionsDocument d)
          Removes the document from the list.
 void MainFrame.ModelListener.documentNotFound(OpenDefinitionsDocument d, File f)
           
 void DefinitionsPaneMemoryLeakTest.DocChangeListener.fileClosed(OpenDefinitionsDocument d)
           
 void MainFrame.ModelListener.fileClosed(OpenDefinitionsDocument doc)
           
 void MainFrameTest.SingleDisplayModelFileOpenedListener.fileClosed(OpenDefinitionsDocument doc)
           
 void MainFrameTest.SingleDisplayModelFileClosedListener.fileClosed(OpenDefinitionsDocument doc)
           
 void MainFrame.ModelListener.fileOpened(OpenDefinitionsDocument doc)
           
 void MainFrameTest.SingleDisplayModelCompileListener.fileOpened(OpenDefinitionsDocument doc)
           
 void MainFrameTest.SingleDisplayModelFileOpenedListener.fileOpened(OpenDefinitionsDocument doc)
           
 void MainFrameTest.SingleDisplayModelFileClosedListener.fileOpened(OpenDefinitionsDocument doc)
           
 void MainFrame.ModelListener.fileReverted(OpenDefinitionsDocument doc)
           
 void MainFrame.ModelListener.fileSaved(OpenDefinitionsDocument doc)
           
 void FindReplacePanel.findAll(String searchStr, boolean searchAll, boolean searchSelectionOnly, boolean matchCase, boolean wholeWord, boolean noComments, boolean noTestCases, OpenDefinitionsDocument startDoc, RegionManager<MovingDocumentRegion> rm, MovingDocumentRegion region, FindResultsPanel panel)
          Performs "find all" with the specified options.
 DefinitionsPane MainFrame.getDefPaneGivenODD(OpenDefinitionsDocument doc)
           
 Icon MainFrame.OddDisplayManager.getIcon(OpenDefinitionsDocument odd)
           
 String MainFrame.OddDisplayManager.getName(OpenDefinitionsDocument doc)
           
(package private)  DefaultMutableTreeNode RegionsTreePanel.getNode(OpenDefinitionsDocument doc)
          Gets the tree node for the given document.
private  String RecentDocFrame.getTextFor(OpenDefinitionsDocument doc)
           
 void MainFrame.ModelListener.handleAlreadyOpenDocument(OpenDefinitionsDocument doc)
           
 void MainFrame.ModelListener.newFileCreated(OpenDefinitionsDocument doc)
           
 void MainFrameTest.SingleDisplayModelFileOpenedListener.newFileCreated(OpenDefinitionsDocument doc)
           
 void MainFrameTest.SingleDisplayModelFileClosedListener.newFileCreated(OpenDefinitionsDocument doc)
           
 void RecentDocFrame.pokeDocument(OpenDefinitionsDocument d)
          Moves the document d to the beginning of the list if it's already in the list, or it adds it to the beginning if its not already in the list.
 void MainFrame.ModelListener.prepareForRun(OpenDefinitionsDocument doc)
           
 boolean MainFrame.ModelListener.quitFile(OpenDefinitionsDocument doc)
          Check if the current document has been modified.
 void MainFrame.scrollToDocumentAndOffset(OpenDefinitionsDocument doc, int offset, boolean shouldHighlight)
          Called when a specific document and offset should be displayed.
 void MainFrame.scrollToDocumentAndOffset(OpenDefinitionsDocument doc, int offset, boolean shouldHighlight, boolean shouldAddToHistory)
          Called when a specific document and offset should be displayed.
 boolean MainFrame.ModelListener.shouldRevertFile(OpenDefinitionsDocument doc)
          Called to ask the listener if it is OK to revert the current document to a newer version saved on file.
 void MainFrame.UIDebugListener.threadLocationUpdated(OpenDefinitionsDocument doc, int lineNumber, boolean shouldHighlight)
          Called when the given line is reached by the current thread in the debugger, to request that the line be displayed.
 void DebugPanel.DebugPanelListener.threadLocationUpdated(OpenDefinitionsDocument doc, int lineNumber, boolean shouldHighlight)
           
 

Method parameters in edu.rice.cs.drjava.ui with type arguments of type OpenDefinitionsDocument
private  void MainFrame._processDocs(Collection<OpenDefinitionsDocument> docs, Runnable1<OpenDefinitionsDocument> op)
          Performs op on each document in docs and invalidates the various project file collection properties.
private  void MainFrame._processDocs(Collection<OpenDefinitionsDocument> docs, Runnable1<OpenDefinitionsDocument> op)
          Performs op on each document in docs and invalidates the various project file collection properties.
 void MainFrame.ModelListener.compileBeforeJUnit(CompilerListener testAfterCompile, List<OpenDefinitionsDocument> outOfSync)
          Compile all open source files if this option is configured or running as a unit test.
 FindResultsPanel MainFrame.createFindResultsPanel(RegionManager<MovingDocumentRegion> rm, MovingDocumentRegion region, String title, String searchString, boolean searchAll, boolean searchSelectionOnly, boolean matchCase, boolean wholeWord, boolean noComments, boolean noTestCases, WeakReference<OpenDefinitionsDocument> doc, FindReplacePanel findReplace)
          Create a new find results tab.
(package private)  void MainFrame.disableFindAgainOnClose(List<OpenDefinitionsDocument> projDocs)
          Disable "Find Again" on "Find All" tabs that use a document that was closed.
 

Constructors in edu.rice.cs.drjava.ui with parameters of type OpenDefinitionsDocument
DefinitionsPane(MainFrame mf, OpenDefinitionsDocument doc)
          Standard Constructor.
ErrorCaretListener(OpenDefinitionsDocument doc, DefinitionsPane defPane, MainFrame frame)
          Constructs a new caret listener to highlight errors.
MainFrameStatics.GoToFileListEntry(OpenDefinitionsDocument d, String s)
           
 

Constructor parameters in edu.rice.cs.drjava.ui with type arguments of type OpenDefinitionsDocument
FindResultsPanel(MainFrame frame, RegionManager<MovingDocumentRegion> regionManager, MovingDocumentRegion region, String title, String searchString, boolean searchAll, boolean searchSelectionOnly, boolean matchCase, boolean wholeWord, boolean noComments, boolean noTestCases, WeakReference<OpenDefinitionsDocument> doc, FindReplacePanel findReplace)
          Constructs a new find results panel.
 

Uses of OpenDefinitionsDocument in edu.rice.cs.util.swing
 

Methods in edu.rice.cs.util.swing that return OpenDefinitionsDocument
 OpenDefinitionsDocument DocumentIterator.getNextDocument(OpenDefinitionsDocument doc)
          Gets the next document.
 OpenDefinitionsDocument DocumentIterator.getNextDocument(OpenDefinitionsDocument doc, Component frame)
          Gets the next document.
 OpenDefinitionsDocument DocumentIterator.getPrevDocument(OpenDefinitionsDocument doc)
          Gets the previous document.
 

Methods in edu.rice.cs.util.swing with parameters of type OpenDefinitionsDocument
 OpenDefinitionsDocument DocumentIterator.getNextDocument(OpenDefinitionsDocument doc)
          Gets the next document.
 OpenDefinitionsDocument DocumentIterator.getNextDocument(OpenDefinitionsDocument doc, Component frame)
          Gets the next document.
 OpenDefinitionsDocument DocumentIterator.getPrevDocument(OpenDefinitionsDocument doc)
          Gets the previous document.