Question: 3: Command pattern and a word-processor's Undo and Redo You probably have already used Ctrl+Z (for Undo) and Ctrl+Y (for Redo) in your word

3: Command pattern and a word-processor's Undo and Redo You probably have

3: Command pattern and a word-processor's Undo and Redo You probably have already used Ctrl+Z (for Undo) and Ctrl+Y (for Redo) in your word processor. What do you think might be a WordProcessor Command in this context? What are the methods that Word Processor Command must implement? What kind of data structure might you need for holding the Word Processor Command objects? Draw a simple UML class diagram.

Step by Step Solution

3.51 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer WordProcessorCommand ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!