Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Objective Views User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

12.3 Executing and Unexecuting

A command does not perform an action until its Execute() method is called. The command stores any additional information it might need to undo a command and then calls methods in the model to perform its action.

When a command is undone, its Unexecute() method is called. Stored information is retrieved from here and then the action is reversed. Some unexecute methods create a whole new command that performs the inverse action and then executes it.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.