public final class GlobalUndoableEdit extends AbstractUndoableEdit
RedoName, UndoName
Constructor and Description |
---|
GlobalUndoableEdit(UndoHistoryItem item,
UndoHistoryItem previous,
Consumer<UndoHistoryItem> loader) |
Modifier and Type | Method and Description |
---|---|
void |
redo() |
void |
undo() |
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
public GlobalUndoableEdit(UndoHistoryItem item, UndoHistoryItem previous, Consumer<UndoHistoryItem> loader)
public void undo() throws CannotUndoException
undo
in interface UndoableEdit
undo
in class AbstractUndoableEdit
CannotUndoException
public void redo() throws CannotRedoException
redo
in interface UndoableEdit
redo
in class AbstractUndoableEdit
CannotRedoException
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.