Command Example (1/6)
public abstract class AbstractCommand {
public final static CommandManager manager = new CommandManager();
public abstract boolean doIt();
public abstract boolean undoIt();
class RenameFileCommand extends AbstractCommand {
RenameFileCommand (File myFile, File myNewFile) {