jimm.datavision.gui.cmd
Class SuppressionProcEditCommand

java.lang.Object
  extended by jimm.datavision.gui.cmd.CommandAdapter
      extended by jimm.datavision.gui.cmd.SuppressionProcEditCommand
All Implemented Interfaces:
Command, Nameable

public class SuppressionProcEditCommand
extends CommandAdapter

Handles suppression proc edits.

Author:
Jim Menard, jimm@io.com

Field Summary
protected  boolean newHidden
           
protected  java.lang.String newLanguage
           
protected  java.lang.String newText
           
protected  boolean oldHidden
           
protected  java.lang.String oldLanguage
           
protected  java.lang.String oldText
           
protected  SectionWidget sectionWidget
           
 
Fields inherited from class jimm.datavision.gui.cmd.CommandAdapter
name
 
Constructor Summary
SuppressionProcEditCommand(SectionWidget sectionWidget, boolean hidden, java.lang.String formulaText, java.lang.String language)
           
 
Method Summary
 void perform()
          Performs the command.
 void undo()
          Undoes the command.
 
Methods inherited from class jimm.datavision.gui.cmd.CommandAdapter
getName, redo, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sectionWidget

protected SectionWidget sectionWidget

oldHidden

protected boolean oldHidden

newHidden

protected boolean newHidden

oldText

protected java.lang.String oldText

newText

protected java.lang.String newText

oldLanguage

protected java.lang.String oldLanguage

newLanguage

protected java.lang.String newLanguage
Constructor Detail

SuppressionProcEditCommand

public SuppressionProcEditCommand(SectionWidget sectionWidget,
                                  boolean hidden,
                                  java.lang.String formulaText,
                                  java.lang.String language)
Method Detail

perform

public void perform()
Description copied from class: CommandAdapter
Performs the command. The default implementation does nothing.

Specified by:
perform in interface Command
Overrides:
perform in class CommandAdapter

undo

public void undo()
Description copied from class: CommandAdapter
Undoes the command. The default implementation does nothing.

Specified by:
undo in interface Command
Overrides:
undo in class CommandAdapter