CS 4773 Object Oriented Systems April 4, 2005
Topics for today:
- Factory Patterns
- Editor open issue:
How should we handle error messages from different sessions?
- GUI groups: think about how you want to display error messages.
- Editor dated April 3 available
- If you have trouble compiling this version:
- Try the following:
project -> project properties -> Paths -> Required Libraries
Click on EditorArchive and then Edit -> Add
Click on the archive subdirectory of the project, then OK
- If this does not work, comment out 2 sets of three lines as follows:
In Editor, lines 3, 4, and 5 of main.
In Commands, first 3 lines of the constructor
- Some changes that may affect you:
- The ErrorHandler must implement ErrorLogger
- The logDebug method takes a second String parameter that can be ignored
- The CommandThread must implement CommandQueue
- To use the ErrorHandler from group 6, in Editor, set
archiveErrorHandler = false;
- To use the CommandThread from group 5, in Editor, set
archiveCommandThread = false;
- Editor dated April 4 available
- Command added: redisplay
- Contains new GUI1 that displays the cursor
- GUI groups: please limit screen size as modified in this version
- GUI1: uncaught exception if cursor moved to invalid line
This is a bug both for GUI1 and CommandExecuterCursor
- GUI groups: make sure your screen redisplays appropriately
when commands are executed. If not, it is either your fault or
the fault of the one that wrote the command.