Class RemoveListElementsUndoableEdit<E>
java.lang.Object
com.levigo.jadice.web.client.undo.AbstractUndoableEdit
com.levigo.jadice.web.client.undo.RemoveListElementsUndoableEdit<E>
- Type Parameters:
E
-
- All Implemented Interfaces:
UndoableEdit
An undoable edit dealing with the removal of elements from a list.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.levigo.jadice.web.client.undo.AbstractUndoableEdit
getRedoDescription, getUndoDescription
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.levigo.jadice.web.client.undo.UndoableEdit
canRedo, canUndo, discard, tryMergeInto
-
Constructor Details
-
RemoveListElementsUndoableEdit
-
-
Method Details
-
getDescription
Description copied from class:AbstractUndoableEdit
Return a presentation name fragment suitable for use both in an "undo something" and "redo something" style phrase.- Specified by:
getDescription
in classAbstractUndoableEdit
- Returns:
- a "something" fragment
-
undo
Description copied from interface:UndoableEdit
Undo the edit.- Throws:
CannotUndoException
- if this edit can not be undone
-
redo
Description copied from interface:UndoableEdit
Re-do the edit.- Throws:
CannotRedoException
- if this edit can not be re-done
-