package class7_3_RemoteControl_inClass_start.other; /** * This class is essentially a placeholder * The invoker is responsible for detecting * this command (using instanceof) and then actually * performing the undo. */ public class UndoCommand implements Command { @Override public boolean execute() { return false; //To change body of implemented methods use File | Settings | File Templates. } @Override public boolean unexecute() { return false; //To change body of implemented methods use File | Settings | File Templates. } @Override public String getCommandName() { return "Undo"; } }