CS 4773 Object Oriented Systems March 28, 2005
Topics for today:
- The Strategy Pattern
- Current editor design - see version dated March 25
- CommandDecoder class eliminated
- RawCommand class changed to ExecutableCommand
If represents an executable command (with arguments)
- Command class added.
This is different from the Commands class
It represents a single command (without the arguments)
- EditingSession needs decodeCommand and insertInQueue
- GUIs call decodeCommand and insertInQueue
from EditingSession
- Commands are now created differently.
See the CommandExecuterUtility class
A CommandExecuter needs a static setID method.
- commands command added. It displays all known commands.
- Formatting standards