gov.nih.nlm.mms
Interface UndoHandler

All Known Implementing Classes:
EnableFilterUndoHandler, GUIConfigurableUndoHandler, InputStreamUndoHandler, OutputStreamUndoHandler

public interface UndoHandler

Generically represents a handler for undoing a certain action.

Author:
Deborah Shapiro

Method Summary
 String getTitle()
          Returns the title to appear on a menu item.
 void undo(Object o1, Object o2)
          Performs the undo operation
 

Method Detail

getTitle

public String getTitle()
Returns the title to appear on a menu item.

Returns:
the title to appear on a menu item

undo

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

Parameters:
o1 - object 1, context specific piece of information for undoing action.
o2 - object 2, context specific piece of information for undoing action


Copyright ©2005