A base ICommand implementation that synchronously executes other ICommands.
An MacroCommand maintains an list of ICommand factories called 'SubCommands'.
When execute is called, the MacroCommand instantiates and calls execute on each of its 'SubCommands' turn.
Each 'SubCommand' will be passed a reference to the original INotification.
Unlike SimpleCommand, your subclass should not override execute, but instead,
should override the initializeMacroCommand method, calling addSubCommand once for each 'SubCommand' to be executed.
See ICommand, IController, INotification, SimpleCommand, INotifier
- Implemented types