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
 class DummyOpenDefDoc
           
 

Fields in edu.rice.cs.drjava.model declared as OpenDefinitionsDocument
protected  OpenDefinitionsDocument GlobalModelTestCase._doc
           
protected  OpenDefinitionsDocument DocumentRegion._doc
           
protected  OpenDefinitionsDocument BrowserDocumentRegion._doc
           
 

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
 

Methods in edu.rice.cs.drjava.model that return OpenDefinitionsDocument
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.
protected  OpenDefinitionsDocument GlobalModelTestCase.doCompile(String text, File file)
          Compiles a new file with the given text.
 OpenDefinitionsDocument SingleDisplayModel.getActiveDocument()
           
 OpenDefinitionsDocument AbstractGlobalModel.getActiveDocument()
          Returns the currently active document.
 OpenDefinitionsDocument MovingDocumentRegion.getDocument()
           
 OpenDefinitionsDocument IDocumentRegion.getDocument()
           
 OpenDefinitionsDocument FindResult.getDocument()
          Returns the document where the found instance is located
 OpenDefinitionsDocument FindReplaceMachine.getDocument()
           
 OpenDefinitionsDocument DocumentRegion.getDocument()
           
 OpenDefinitionsDocument DocumentClosedException.getDocument()
          Get the document which caused this exception.
 OpenDefinitionsDocument BrowserDocumentRegion.getDocument()
           
 OpenDefinitionsDocument TestDocGetter.getDocumentForFile(File 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 AbstractGlobalModel.getDocumentForFile(File file)
          Gets the document for the specified file; may involve opening the file.
 OpenDefinitionsDocument FindReplaceMachine.getFirstDoc()
           
 OpenDefinitionsDocument AbstractGlobalModel.getNextDocument(OpenDefinitionsDocument d)
          Returns the ODD preceding the given document in the document list.
 OpenDefinitionsDocument GlobalModel.getODDForDocument(AbstractDocumentInterface doc)
          CHECK IF NEEDED!
 OpenDefinitionsDocument DummyGlobalModel.getODDForDocument(AbstractDocumentInterface doc)
           
 OpenDefinitionsDocument AbstractGlobalModel.getODDForDocument(AbstractDocumentInterface doc)
          Returns the OpenDefinitionsDocument corresponding to the INavigatorItem/DefinitionsDocument passed in.
 OpenDefinitionsDocument AlreadyOpenException.getOpenDocument()
           
 OpenDefinitionsDocument[] AlreadyOpenException.getOpenDocuments()
           
 OpenDefinitionsDocument AbstractGlobalModel.getPrevDocument(OpenDefinitionsDocument d)
          Returns the ODD preceding the given document in the document list.
 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()
          Creates a new document, adds it to the list of open documents, and sets it to be active.
 OpenDefinitionsDocument AbstractGlobalModel.newFile(File parentDir)
          Creates a new open definitions document and adds it to the list.
 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.newTestCase(String name, boolean makeSetUp, boolean makeTearDown)
          Creates a new junit test case.
 OpenDefinitionsDocument ILoadDocuments.openFile(FileOpenSelector com)
          Open a file and read it into the definitions.
 OpenDefinitionsDocument DummyGlobalModel.openFile(FileOpenSelector com)
           
 OpenDefinitionsDocument AbstractGlobalModel.openFile(FileOpenSelector com)
          Open a file and add it to the pool of definitions documents.
protected  OpenDefinitionsDocument AbstractGlobalModel.openFileHelper(FileOpenSelector com)
           
 OpenDefinitionsDocument[] ILoadDocuments.openFiles(FileOpenSelector com)
          Opens multiple files and reads them into the definitions.
 OpenDefinitionsDocument[] DummyGlobalModel.openFiles(FileOpenSelector com)
           
 OpenDefinitionsDocument[] AbstractGlobalModel.openFiles(FileOpenSelector com)
          Open multiple files and add them to the pool of definitions documents.
protected  OpenDefinitionsDocument[] AbstractGlobalModel.openFilesHelper(FileOpenSelector com)
           
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.
protected  OpenDefinitionsDocument GlobalModelTestCase.setupDocument(String text)
          Creates and returns a new document, makes sure newFile is fired, and then adds some text.
 

Methods in edu.rice.cs.drjava.model that return types with arguments of type OpenDefinitionsDocument
 List<OpenDefinitionsDocument> GlobalModel.getAuxiliaryDocuments()
           
 List<OpenDefinitionsDocument> DummyGlobalModel.getAuxiliaryDocuments()
           
 List<OpenDefinitionsDocument> AbstractGlobalModel.getAuxiliaryDocuments()
          Returns the OpenDefinitionsDocuments that are identified as auxiliary project source files.
 IDocumentNavigator<OpenDefinitionsDocument> GlobalModel.getDocumentNavigator()
          Gets the DocumentNavigator, which controls the document view.
 IDocumentNavigator<OpenDefinitionsDocument> DummyGlobalModel.getDocumentNavigator()
           
 IDocumentNavigator<OpenDefinitionsDocument> AbstractGlobalModel.getDocumentNavigator()
           
 Set<OpenDefinitionsDocument> RegionManager.getDocuments()
           
 Set<OpenDefinitionsDocument> ConcreteRegionManager.getDocuments()
           
 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.getNonProjectDocuments()
          Returns the OpenDefinitionsDocuments that are NOT identified as project source files.
 List<OpenDefinitionsDocument> GlobalModel.getOpenDefinitionsDocuments()
          Returns a collection of all documents currently open for editing.
 List<OpenDefinitionsDocument> DummyGlobalModel.getOpenDefinitionsDocuments()
           
 List<OpenDefinitionsDocument> AbstractGlobalModel.getOpenDefinitionsDocuments()
          Returns a new collection of all documents currently open for editing.
 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.getProjectDocuments()
          Returns the OpenDefinitionsDocuments that are identified as project source files.
 List<OpenDefinitionsDocument> DummyGlobalModel.getSortedOpenDefinitionsDocuments()
           
 List<OpenDefinitionsDocument> AbstractGlobalModel.getSortedOpenDefinitionsDocuments()
           
 

Methods in edu.rice.cs.drjava.model with parameters of type OpenDefinitionsDocument
 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 SingleDisplayModelTest.SDTestListener.activeDocumentChanged(OpenDefinitionsDocument doc)
           
 void GlobalModelTestCase.TestListener.activeDocumentChanged(OpenDefinitionsDocument active)
           
 void GlobalModelListener.activeDocumentChanged(OpenDefinitionsDocument active)
          Called when a new active document is selected
 void GlobalEventNotifier.activeDocumentChanged(OpenDefinitionsDocument active)
          Called when the selection in the navigator changes the active document.
 void DummyGlobalModelListener.activeDocumentChanged(OpenDefinitionsDocument active)
           
 void SingleDisplayModelTest.SDTestListener.activeDocumentRefreshed(OpenDefinitionsDocument doc)
           
 void GlobalModelTestCase.TestListener.activeDocumentRefreshed(OpenDefinitionsDocument active)
           
 void GlobalModelListener.activeDocumentRefreshed(OpenDefinitionsDocument active)
          Called when the active document is refreshed
 void GlobalEventNotifier.activeDocumentRefreshed(OpenDefinitionsDocument active)
          Called when the active document is refreshed.
 void DummyGlobalModelListener.activeDocumentRefreshed(OpenDefinitionsDocument active)
           
 void GlobalModel.addAuxiliaryFile(OpenDefinitionsDocument doc)
          Adds a document to the list of auxiliary files.
 void DummyGlobalModel.addAuxiliaryFile(OpenDefinitionsDocument doc)
           
 void AbstractGlobalModel.addAuxiliaryFile(OpenDefinitionsDocument doc)
          Adds a document to the list of auxiliary files.
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.addDocToClassPath(OpenDefinitionsDocument doc)
          Add a document to the classpath for the slave JVM.
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 GlobalModelTestCase.TestListener.canAbandonFile(OpenDefinitionsDocument doc)
           
 boolean GlobalModelListener.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.
 boolean DummyGlobalModelListener.canAbandonFile(OpenDefinitionsDocument doc)
          Called to ask the listener 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 GlobalModel.closeFile(OpenDefinitionsDocument doc)
          Closes an open definitions document, prompting to save if the document has been changed.
 boolean DummyGlobalModel.closeFile(OpenDefinitionsDocument doc)
           
 boolean AbstractGlobalModel.closeFile(OpenDefinitionsDocument doc)
          Closes an open definitions document, prompting to save if the document has been changed.
protected  boolean AbstractGlobalModel.closeFileHelper(OpenDefinitionsDocument doc)
          Helper for closeFile.
 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)
           
 boolean AbstractGlobalModel.closeFileWithoutPrompt(OpenDefinitionsDocument doc)
          Closes an open definitions document, without prompting to save if the document has been changed.
 int DummyOpenDefDoc.compareTo(OpenDefinitionsDocument d)
           
 void GlobalModelTestCase.CompileShouldSucceedListener.compile(OpenDefinitionsDocument doc)
           
 void GlobalModelTestCase.CompileShouldFailListener.compile(OpenDefinitionsDocument doc)
           
protected  void GlobalModelTestCase.doCompile(OpenDefinitionsDocument doc, File file)
          Saves to the given file, and then compiles the given document.
 void GlobalModelTestCase.TestListener.documentNotFound(OpenDefinitionsDocument d, File f)
           
 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 GlobalEventNotifier.documentNotFound(OpenDefinitionsDocument d, File f)
           
 void DummyGlobalModelListener.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 GlobalModelTestCase.TestListener.fileClosed(OpenDefinitionsDocument doc)
           
 void GlobalModelListener.fileClosed(OpenDefinitionsDocument doc)
          Called after a document is closed.
 void GlobalEventNotifier.fileClosed(OpenDefinitionsDocument doc)
          Called after a document is closed.
 void DummyGlobalModelListener.fileClosed(OpenDefinitionsDocument doc)
          Called after a document is closed.
 void GlobalModelTestCase.TestListener.fileOpened(OpenDefinitionsDocument doc)
           
 void GlobalModelListener.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 DummyGlobalModelListener.fileOpened(OpenDefinitionsDocument doc)
          Called after a file is opened and read into the current document.
 void GlobalModelTestCase.TestListener.fileReverted(OpenDefinitionsDocument doc)
           
 void GlobalModelListener.fileReverted(OpenDefinitionsDocument doc)
          Called after a document is reverted.
 void GlobalEventNotifier.fileReverted(OpenDefinitionsDocument doc)
          Called after a document is reverted.
 void DummyGlobalModelListener.fileReverted(OpenDefinitionsDocument doc)
          Called after a document is reverted.
 void GlobalModelTestCase.TestListener.fileSaved(OpenDefinitionsDocument doc)
           
 void GlobalModelListener.fileSaved(OpenDefinitionsDocument doc)
          Called after the current document is saved.
 void GlobalModelJUnitTest.JUnitCompileBeforeTestListener.fileSaved(OpenDefinitionsDocument doc)
           
 void GlobalEventNotifier.fileSaved(OpenDefinitionsDocument doc)
          Called after the current document is saved.
 void DummyGlobalModelListener.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.
 OpenDefinitionsDocument AbstractGlobalModel.getNextDocument(OpenDefinitionsDocument d)
          Returns the ODD preceding the given document in the document list.
 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 GlobalModelTestCase.TestListener.handleAlreadyOpenDocument(OpenDefinitionsDocument doc)
           
 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 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.
 void DummyGlobalModelListener.handleAlreadyOpenDocument(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 FileGroupingState.inProjectPath(OpenDefinitionsDocument doc)
           
 boolean DummyGlobalModel.inProjectPath(OpenDefinitionsDocument doc)
           
 boolean AbstractGlobalModel.inProjectPath(OpenDefinitionsDocument doc)
          A file is in the project if the source root is the same as the project root.
 void GlobalModelTestCase.TestListener.newFileCreated(OpenDefinitionsDocument doc)
           
 void GlobalModelTestCase.CompileShouldSucceedListener.newFileCreated(OpenDefinitionsDocument doc)
           
 void GlobalModelListener.newFileCreated(OpenDefinitionsDocument doc)
          Called after a new document is created.
 void GlobalEventNotifier.newFileCreated(OpenDefinitionsDocument doc)
          Called after a new document is created.
 void DummyGlobalModelListener.newFileCreated(OpenDefinitionsDocument doc)
          Called after a new document is created.
 void GlobalModelTestCase.TestListener.prepareForRun(OpenDefinitionsDocument doc)
           
 void GlobalModelListener.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.
 void DummyGlobalModelListener.prepareForRun(OpenDefinitionsDocument doc)
          Called when a file's main method is about to be run.
 boolean GlobalModelTestCase.TestListener.quitFile(OpenDefinitionsDocument doc)
           
 boolean GlobalModelListener.quitFile(OpenDefinitionsDocument doc)
          Called to ask the listener if this 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.
 boolean DummyGlobalModelListener.quitFile(OpenDefinitionsDocument doc)
          Called to ask the listener if the document should be saved before quitting.
 void GlobalModel.removeAuxiliaryFile(OpenDefinitionsDocument doc)
          Removes a document from the list of auxiliary files.
 void DummyGlobalModel.removeAuxiliaryFile(OpenDefinitionsDocument doc)
           
 void AbstractGlobalModel.removeAuxiliaryFile(OpenDefinitionsDocument doc)
          Removes a document from the list of auxiliary files.
 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.
 void SingleDisplayModel.setActiveDocument(OpenDefinitionsDocument doc)
          Sets the currently active document by updating the selection model.
 void AbstractGlobalModel.setActiveDocument(OpenDefinitionsDocument doc)
          Sets the currently active document by updating the selection model.
 void FindReplaceMachine.setDocument(OpenDefinitionsDocument doc)
           
 void FindReplaceMachine.setFirstDoc(OpenDefinitionsDocument firstDoc)
           
 boolean GlobalModelTestCase.TestListener.shouldRevertFile(OpenDefinitionsDocument doc)
           
 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 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 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 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.
 

Method parameters in edu.rice.cs.drjava.model with type arguments of type OpenDefinitionsDocument
 ProjectProfile AbstractGlobalModel._makeProjectProfile(File file, HashMap<OpenDefinitionsDocument,DocumentInfoGetter> info)
          Writes the project profile augmented by usage info to specified file.
 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.
 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.
 void AbstractGlobalModel.exportOldProject(File file, HashMap<OpenDefinitionsDocument,DocumentInfoGetter> info)
          Writes the project profile in the old project format.
 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.hasModifiedDocuments(List<OpenDefinitionsDocument> lod)
          Checks if any given documents have been modified since last being saved.
 boolean GlobalModel.hasOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)
           
 boolean DummyGlobalModel.hasOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)
           
 boolean AbstractGlobalModel.hasOutOfSyncDocuments(List<OpenDefinitionsDocument> lod)
           
 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.reloadProject(File file, HashMap<OpenDefinitionsDocument,DocumentInfoGetter> info)
           
 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.saveProject(File file, HashMap<OpenDefinitionsDocument,DocumentInfoGetter> info)
          Writes the project profile augmented by usage info to specified file.
 void GlobalModel.setDocumentNavigator(IDocumentNavigator<OpenDefinitionsDocument> newnav)
           
 void DummyGlobalModel.setDocumentNavigator(IDocumentNavigator<OpenDefinitionsDocument> newnav)
           
 void AbstractGlobalModel.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
 

Methods in edu.rice.cs.drjava.model.cache that return OpenDefinitionsDocument
protected  OpenDefinitionsDocument DocumentCacheTest.openFile(File f)
           
 

Methods in edu.rice.cs.drjava.model.cache with parameters of type OpenDefinitionsDocument
 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
 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 DebugTestCase.DebugTestListener.threadLocationUpdated(OpenDefinitionsDocument doc, int lineNumber, boolean shouldHighlight)
           
 void DebugTestCase.BreakpointTestListener.threadLocationUpdated(OpenDefinitionsDocument doc, int lineNumber, boolean shouldHighlight)
           
 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 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.
 boolean NoDebuggerAvailable.toggleBreakpoint(OpenDefinitionsDocument doc, int offset, int lineNum, boolean isEnabled)
          Toggles whether a breakpoint is set at the given line in the given document.
 boolean Debugger.toggleBreakpoint(OpenDefinitionsDocument doc, int offset, int lineNum, 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
           
 

Methods in edu.rice.cs.drjava.model.debug.jpda that return OpenDefinitionsDocument
 OpenDefinitionsDocument DocumentDebugAction.getDocument()
          Returns the document this DebugAction occurs in.
 OpenDefinitionsDocument JPDADebugger.preloadDocument(com.sun.jdi.Location location)
          Return the document associated with this location.
 

Methods in edu.rice.cs.drjava.model.debug.jpda with parameters of type OpenDefinitionsDocument
 boolean JPDADebugger.toggleBreakpoint(OpenDefinitionsDocument doc, int offset, int lineNum, 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, int lineNumber, boolean isEnabled, JPDADebugger manager)
           
 

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

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
 void NoJavadocAvailable.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 DefaultJavadocModel.javadocDocument(OpenDefinitionsDocument doc, FileSaveSelector saver)
          Generates Javadoc for the given document only, after ensuring it is saved.
 File NoJavadocAvailable.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 DefaultJavadocModel.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 JUnitModel.junit(OpenDefinitionsDocument doc)
          Runs JUnit over a single document.
 void DefaultJUnitModel.junit(OpenDefinitionsDocument doc)
          Runs JUnit on the current document.
 

Method parameters in edu.rice.cs.drjava.model.junit with type arguments of type OpenDefinitionsDocument
 void JUnitModel.junitDocs(List<OpenDefinitionsDocument> lod)
          Runs JUnit over a list of documents.
 void DefaultJUnitModel.junitDocs(List<OpenDefinitionsDocument> lod)
           
 

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

Fields in edu.rice.cs.drjava.ui declared as OpenDefinitionsDocument
 OpenDefinitionsDocument MainFrame.GoToFileListEntry.doc
           
 

Fields in edu.rice.cs.drjava.ui with type parameters of type OpenDefinitionsDocument
protected  WeakReference<OpenDefinitionsDocument> FindResultsPanel._doc
           
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.
 

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
 void RecentDocFrame.closeDocument(OpenDefinitionsDocument d)
          Removes the document from the list.
 DefinitionsPane MainFrame.getDefPaneGivenODD(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.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.
 

Method parameters in edu.rice.cs.drjava.ui with type arguments of type OpenDefinitionsDocument
 FindResultsPanel MainFrame.createFindResultsPanel(RegionManager<MovingDocumentRegion> rm, String title, String searchString, boolean searchAll, boolean matchCase, boolean wholeWord, boolean noComments, boolean noTestCases, WeakReference<OpenDefinitionsDocument> doc, edu.rice.cs.drjava.ui.FindReplacePanel findReplace)
          Create a new find results tab.
 

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.
MainFrame.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, String title, String searchString, boolean searchAll, boolean matchCase, boolean wholeWord, boolean noComments, boolean noTestCases, WeakReference<OpenDefinitionsDocument> doc, edu.rice.cs.drjava.ui.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.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.getPrevDocument(OpenDefinitionsDocument doc)
          Gets the previous document.