Package 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.

See:
          Description

Interface Summary
InputListener Listens for input requests from System.in.
InteractionsListener Interface for any listener to an InteractionsModel.
InteractionsModelCallback Callback interface which allows an InteractionsModel to respond to events in a remote Java interpreter.
 

Class Summary
DefaultInteractionsModel Interactions model which can notify GlobalModelListeners on events.
DummyInteractionsListener A dummy InteractionsListener that does nothing.
History History class that records what has been typed in the interactions pane.
HistoryTest Tests the functionality of the repl History.
InteractionsDJDocument Represents a Swing-based InteractionsDocument.
InteractionsDJDocument.CommandUndoableEdit Appending any information for the reduced model from each undo command
InteractionsDJDocumentTest Tests the functionality of the InteractionsDJDocument.
InteractionsDocument A GUI toolkit-agnostic document that supports console-like interaction with a Java interpreter.
InteractionsDocumentTest Tests the functionality of the InteractionsDocument.
InteractionsDocumentTest.TestBeep Silent beep for a test class.
InteractionsEditorKit This is an editor kit for editing Java source files.
InteractionsEventNotifier Keeps track of all listeners to an InteractionsModel, and has the ability to notify them of some event.
InteractionsModel A Swing specific model for the DrJava InteractionsPane.
InteractionsModel.NoInputListener Singleton InputListener which should never be asked for input.
InteractionsModelErrorTest Tests errors in an InteractionsModel.
InteractionsModelTest Tests the functionality of an InteractionsModel.
InteractionsModelTest.BadSyntaxInteractionsModel This test model can simulate a syntax error in interpretation.
InteractionsModelTest.IncompleteInputInteractionsModel This test model includes a slave JVM, just like a DefaultGlobalModel.
InteractionsModelTest.TestInteractionsModel A generic InteractionsModel for testing purposes.
InteractionsPaneOptions Interpreter options that can be changed.
InteractionsScriptModel Manages the execution of a Interactions History as a script of individual commands.
JavaInterpreterTest Tests the functionality of the repl interpreter.
RMIInteractionsModel A Swing specific InteractionsModel which can serve as the glue between a local InteractionsDocument and a remote JavaInterpreter in another JVM.
SimpleInteractionsModel A simple implementation of InteractionsModel, which uses a DynamicJavaAdapter directly (in the same JVM) to interpret code.
 

Exception Summary
InteractionsException Exception to signify that something went wrong during an interaction.
InterpreterInterruptedException Exception to signify that the interpreter was interrupted before it could complete.
 

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

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.