com.enspire.gemini.commands
Interface CommandExecutor

All Known Implementing Classes:
CommandExecutorImpl

public interface CommandExecutor

Executes a given command and keeps it in the history stack.

Since:
1.0
Author:
Dragan Djuric

Method Summary
 void execute(Command command)
          Executes the given command.
 void undo()
          Undoes all commands that have been executed up to now (does not include already undoed commands).
 

Method Detail

execute

void execute(Command command)
Executes the given command.

Parameters:
command - the command that is to be executed.

undo

void undo()
Undoes all commands that have been executed up to now (does not include already undoed commands).



Copyright © 2005 e-nspire. All Rights Reserved.