gov.nih.nlm.mms
Class GUIConfigurableUndoHandler

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

public class GUIConfigurableUndoHandler
extends Object
implements UndoHandler

Handles undoing regular actions in the GUI.


Constructor Summary
GUIConfigurableUndoHandler(GUIConfigurable gc, MetamorphoSysGUI gui)
          Instantiates a GUIConfigurableUndoHandler.
 
Method Summary
 String getTitle()
          Returns the title for the undo menu.
 void undo(Object o1, Object o2)
          Performs the undo operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIConfigurableUndoHandler

public GUIConfigurableUndoHandler(GUIConfigurable gc,
                                  MetamorphoSysGUI gui)
Instantiates a GUIConfigurableUndoHandler.

Parameters:
gc - the GUIConfigurable
gui - the MetamorphoSysGUI
Method Detail

getTitle

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

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

undo

public void undo(Object o1,
                 Object o2)
Performs the undo operation.

Specified by:
undo in interface UndoHandler
Parameters:
o1 - the previous properties
o2 - the "has data changed" state


Copyright ©2005