Package edu.rice.cs.drjava.model.definitions

Provides the data model for storing Java source code.

See:
          Description

Interface Summary
DocumentClosedListener This listener can be added to DefinitionsDocuments, and will be fired when the document is closing.
DocumentUIListener The purpose for this interface's existence is to make the document listener added by our MainFrame distinguishable by the model (specifically the DDReconstructor) from the other registered DocumentListeners when saving the necessary info from the DefinitionsDocument before the document cache boots it out.
 

Class Summary
ColoringGlyphPainter  
ColoringView This view class renders text on the screen using the reduced model info.
CommentTest Test the comment lines / uncomment lines functionality.
CompoundUndoManager Extended UndoManager with increased functionality.
DefinitionsDocument The document model for the definitions pane; it contains a reduced model since it extends AbstractDJDocument.
DefinitionsDocument.WrappedPosition Wrapper for Position objects to allow relinking to a new Document.
DefinitionsDocumentTest Tests the functionality of the definitions document.
DefinitionsEditorKit The editor kit class for editing Java source files.
IndentHelperTest Tests for the helper methods in DefinitionsDocument
IndentTest Class that tests the tab/enter/curly indenting functionality.
 

Exception Summary
ClassNameNotFoundException Exception indicating that a class name could not be found in the DefinitionsDocument from which it was thrown.
InvalidPackageException An exception thrown by DefinitionsDocument.getPackageName() when the document contains an invalid package statement.
NoSuchDocumentException This exception is to be thrown when an OpenDefinitionsDocument was asked for its DefinitionsDocument and when the OpenDefinitionsDocument itself is not registered in the Document Cache.
 

Package edu.rice.cs.drjava.model.definitions Description

Provides the data model for storing Java source code. The primary class here is DefinitionsDocument. This is an extension of PlainDocument that contains a "reduced model", which allows the ability to match parentheses, do indentation, and highlight various kinds of text (syntactically) very efficiently.

See Also:
edu.rice.cs.drjava.model.definitions.reducedmodel