UndoManagerUndoProvider

Adapter that wraps UndoManager to implement UndoProvider interface. Used by annotation toolbars to work with UndoRedoToolbarHelper.

Parameters

undoManager

The underlying undo manager to delegate calls to.

Constructors

Link copied to clipboard
constructor(undoManager: UndoManager)

Functions

Link copied to clipboard
open override fun canRedo(): Boolean

Checks if redo operation is possible.

Link copied to clipboard
open override fun canUndo(): Boolean

Checks if undo operation is possible.

Link copied to clipboard
open override fun redo()

Performs redo operation.

Link copied to clipboard
open override fun undo()

Performs undo operation.