gov.nih.nlm.mms
Class EnableFilterUndoHandler

java.lang.Object
  extended bygov.nih.nlm.mms.EnableFilterUndoHandler
All Implemented Interfaces:
UndoHandler

public class EnableFilterUndoHandler
extends Object
implements UndoHandler

Handles the undo operation for an enable or disable filter action.

Author:
Deborah Shapiro

Constructor Summary
EnableFilterUndoHandler(MetamorphoSysGUI gui)
          Instantiates an EnableFilterUndoHandler for the specified gui.
 
Method Summary
 String getTitle()
          Returns the title for the undo menu item.
 void undo(Object o1, Object o2)
          Performs the undo operation and prepares the redo stack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnableFilterUndoHandler

public EnableFilterUndoHandler(MetamorphoSysGUI gui)
Instantiates an EnableFilterUndoHandler for the specified gui.

Parameters:
gui - the MetamorphoSysGUI
Method Detail

getTitle

public String getTitle()
Returns the title for the undo menu item.

Specified by:
getTitle in interface UndoHandler
Returns:
the title for the undo menu item

undo

public void undo(Object o1,
                 Object o2)
Performs the undo operation and prepares the redo stack.

Specified by:
undo in interface UndoHandler
Parameters:
o1 - the previous set of active filters
o2 - the current set of active filters


Copyright ©2005