net.sf.rej.gui.action
Class ModifyClassPropertiesAction

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

public class ModifyClassPropertiesAction
extends java.lang.Object
implements Undoable


Constructor Summary
ModifyClassPropertiesAction(ClassFile cf, AccessFlags flags, java.lang.String className, java.lang.String superName, java.util.List<Interface> remainingInterfaces, java.util.List<java.lang.String> newInterfaces)
           
 
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

ModifyClassPropertiesAction

public ModifyClassPropertiesAction(ClassFile cf,
                                   AccessFlags flags,
                                   java.lang.String className,
                                   java.lang.String superName,
                                   java.util.List<Interface> remainingInterfaces,
                                   java.util.List<java.lang.String> newInterfaces)
Method Detail

execute

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

Specified by:
execute in interface Undoable

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