CPSC 421 OOP Command Pattern
Across
- 4. Applicable when you want to support unlimited ____ and redo
- 6. An Invoker object ______ the ConcreteCommand object
- 8. The _____ Pattern allows you to encapsulate a request as an object
- 9. _____ is a related pattern that keeps state the command requires for an undo
- 12. The Client ____ a ConcreteCommand object
- 14. Easy to add new Commands because you don’t have to ______ existing classes.
- 15. Command AKA
- 18. For undo and redo, for a method execute() the corresponding method is _____
- 20. The ConcreteCommand object _____ operations on its receiver to carry out the request
- 21. An idea for implementation is using C++ _____ to avoid creating Command subclasses
- 22. A detail for implementation is supporting undo and _____
- 23. Applicable when you want to support _____ changes in case of a system crash
- 24. Command _________ the object that invokes the operation from the one that knows how to perform it
Down
- 1. Command is copied before being placed on a history list acts as a __________
- 2. Commands are _____-_____ objects and can be manipulated and extended like any other object.
- 3. Command is a _____ Pattern
- 5. An issue to deal with in implementation is avoiding error _____ in the undo
- 7. Another Command AKA
- 10. Applicable when you want to support _____
- 11. Multiple commands can be assembled into a _________ command (e.g., MacroCommand), and are instances of the Composite pattern
- 13. Use the command pattern when you want to _____ objects by an action to perform
- 16. The Invoker object ____ a request by calling an operation on the command
- 17. A question for implementation is "How ___________ should a command be?"
- 19. _____ is a related pattern used to implement MacroCommands