|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use AbstractDJDocument | |
|---|---|
| edu.rice.cs.drjava | This is the top-level package for DrJava. |
| edu.rice.cs.drjava.model.definitions | Provides the data model for storing Java source code. |
| edu.rice.cs.drjava.model.definitions.indent | Provides a decision tree used to correctly indent the current line. |
| edu.rice.cs.drjava.model.definitions.reducedmodel | This package contains the code for the "reduced model": a model of the text in the definitions pane designed for quickly locating matching parentheses, quotation marks, and comment delimiters. |
| edu.rice.cs.drjava.model.repl | Contains the adapter code for the interpreter, as well as the code for managing the history of interactions, the handling of exceptions thrown by the interpreter, etc. |
| Uses of AbstractDJDocument in edu.rice.cs.drjava |
|---|
| Methods in edu.rice.cs.drjava with parameters of type AbstractDJDocument | |
|---|---|
protected static void |
DrJavaTestCase.setDocText(AbstractDJDocument doc,
String text)
Clears the text of the _doc field and sets it to the given string. |
| Uses of AbstractDJDocument in edu.rice.cs.drjava.model.definitions |
|---|
| Subclasses of AbstractDJDocument in edu.rice.cs.drjava.model.definitions | |
|---|---|
class |
DefinitionsDocument
The document model for the definitions pane; it contains a reduced model since it extends AbstractDJDocument. |
| Methods in edu.rice.cs.drjava.model.definitions with parameters of type AbstractDJDocument | |
|---|---|
private void |
ColoringGlyphPainter.attachOptionListeners(AbstractDJDocument doc)
|
| Uses of AbstractDJDocument in edu.rice.cs.drjava.model.definitions.indent |
|---|
| Fields in edu.rice.cs.drjava.model.definitions.indent declared as AbstractDJDocument | |
|---|---|
protected AbstractDJDocument |
IndentRulesTestCase._doc
|
| Methods in edu.rice.cs.drjava.model.definitions.indent with parameters of type AbstractDJDocument | |
|---|---|
(package private) abstract boolean |
IndentRuleQuestion.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the given rule holds in this context. |
(package private) boolean |
QuestionExistsCharInPrevStmt.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Searches through the previous statement to determine if it contains char _lookFor (unshadowed). |
(package private) boolean |
QuestionHasCharPrecedingOpenBrace.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Applies the rule described in class documentation. |
(package private) boolean |
QuestionLineContains.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the given character exists on the current line. |
(package private) boolean |
QuestionBraceIsCurly.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
|
(package private) boolean |
QuestionStartingNewStmt.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the previous non-whitespace character not on this line was one of the following: ';', '{', '}' or nothing. |
(package private) boolean |
QuestionStartAfterOpenBrace.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Assumes read lock is already held. |
(package private) boolean |
QuestionPrevLineStartsJavaDocWithText.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the previous line starts with "/**", ignoring whitespace, followed by more non-whitespace text |
(package private) boolean |
QuestionPrevLineStartsWith.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the previous line in the document starts with the specified characters, ignoring whitespace. |
(package private) boolean |
QuestionInsideComment.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the (start of the) current line in the document is in a block comment. |
(package private) boolean |
QuestionCurrLineEmpty.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the current line in the document is empty. |
(package private) boolean |
QuestionCurrLineStartsWith.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the current line in the document starts with the specified prefix, ignoring whitespace. |
(package private) boolean |
QuestionFollowedByStar.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the next non WS character is '*'. |
(package private) boolean |
QuestionCurrLineEmptyOrEnterPress.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the current line in the document is empty. |
(package private) boolean |
QuestionPrevLineStartsComment.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the previous line in the document starts a block comment. |
(package private) boolean |
QuestionCurrLineStartsWithSkipComments.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines whether or not the current line in the document starts with the character sequence specified by the String field _prefix, skipping over any comments and leading whitespace on that line. |
(package private) boolean |
QuestionExistsCharInStmt.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Searches backwards from endChar to the start of the statement looking for findChar. |
(package private) boolean |
QuestionCurrLineIsWingComment.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines whether or not the current line in the document starts with the wing comment prefix "//". |
(package private) boolean |
QuestionNewParenPhrase.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the previous line ends in a comma, semicolon, open paren, open bracket, operator, or comparator. |
protected boolean |
QuestionBraceIsParenOrBracket.applyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
|
(package private) boolean |
IndentRuleQuestion.applyRule(AbstractDJDocument doc,
int pos,
Indenter.IndentReason reason)
Determines if the given rule holds in this context. |
boolean |
Indenter.indent(AbstractDJDocument doc,
Indenter.IndentReason reason)
Indents the current line based on a decision tree which determines the indent based on context. |
boolean |
IndentRuleQuestion.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Determines if the given rule holds in this context and calls the same method on one of its child nodes. |
boolean |
ActionStartStmtOfBracePlus.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Properly indents the line that the caret is currently on. |
boolean |
ActionBracePlus.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Properly indents the line that the caret is currently on. |
boolean |
ActionDoNothing.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Properly indents the line that the caret is currently on. |
boolean |
ActionStartCurrStmtPlus.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Properly indents the line that the caret is currently on. |
boolean |
ActionStartPrevLinePlusMultiline.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Indents the line according to the previous line, with the suffix lines added and the cursor moved to a specific location. |
boolean |
IndentRuleWithTrace.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
This method does not indent the current line! |
boolean |
IndentRule.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Properly indents the line that the given position is on. |
boolean |
ActionStartPrevStmtPlus.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Properly indents the line that the caret is currently on. |
boolean |
ActionStartPrevLinePlus.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Indents the line according to the previous line, with the suffix string added. |
boolean |
ActionStartPrevLinePlusMultilinePreserve.indentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Forwards the call to the enclosed ActionStartPrevLinePlusMultiline. |
boolean |
IndentRuleWithTrace.indentLine(AbstractDJDocument doc,
int pos,
Indenter.IndentReason reason)
Properly indents the line identified by pos. |
(package private) boolean |
IndentRuleQuestion.testApplyRule(AbstractDJDocument doc,
Indenter.IndentReason reason)
Convenience method that wraps calls on applyRule in a read lock. |
(package private) boolean |
IndentRuleQuestion.testApplyRule(AbstractDJDocument doc,
int pos,
Indenter.IndentReason reason)
Convenience method that wraps calls on applyRule in a read lock. |
boolean |
IndentRuleQuestion.testIndentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Convenience method that wraps calls on indentLine in a write lock. |
boolean |
IndentRuleWithTrace.testIndentLine(AbstractDJDocument doc,
Indenter.IndentReason reason)
Convenience method that wraps calls on indentLine in a write lock. |
boolean |
IndentRuleWithTrace.testIndentLine(AbstractDJDocument doc,
int pos,
Indenter.IndentReason reason)
Convenience method that wraps calls on indentLine in a write lock. |
| Uses of AbstractDJDocument in edu.rice.cs.drjava.model.definitions.reducedmodel |
|---|
| Fields in edu.rice.cs.drjava.model.definitions.reducedmodel declared as AbstractDJDocument | |
|---|---|
private AbstractDJDocument |
BraceInfoTest._document
|
| Uses of AbstractDJDocument in edu.rice.cs.drjava.model.repl |
|---|
| Subclasses of AbstractDJDocument in edu.rice.cs.drjava.model.repl | |
|---|---|
class |
InteractionsDJDocument
Represents a Swing-based InteractionsDocument. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||