net.sf.rej.gui.action
Class ModifyInstructionAction

java.lang.Object
  extended by net.sf.rej.gui.action.ModifyInstructionAction
All Implemented Interfaces:
Undoable

public class ModifyInstructionAction
extends java.lang.Object
implements Undoable


Constructor Summary
ModifyInstructionAction(Instruction inst, Parameters params)
           
 
Method Summary
 void execute()
          Execute the command/action that fulfills the Undoable contract.
 void undo()
          Undo all the changes caused by a call to the execute() method of this instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifyInstructionAction

public ModifyInstructionAction(Instruction inst,
                               Parameters params)
Method Detail

undo

public void undo()
Description copied from interface: Undoable
Undo all the changes caused by a call to the execute() method of this instance.

Specified by:
undo in interface Undoable

execute

public void execute()
Description copied from interface: Undoable
Execute the command/action that fulfills the Undoable contract.

Specified by:
execute in interface Undoable