Package-level declarations
Editing action bar / toolbar and supporting classes.
Types
ContextualToolbar.Adapter that wraps DocumentEditingController to implement UndoProvider interface. Used by document editor toolbar to work with UndoRedoToolbarHelper.
Physical docking slot of a contextual toolbar on the screen — the successor of the deleted ToolbarCoordinatorLayout.LayoutParams.Position (toolbar migration Phase 5).
Adapter that wraps UndoManager to implement UndoProvider interface. Used by annotation toolbars to work with UndoRedoToolbarHelper.
Common interface for undo/redo functionality used by UndoRedoToolbarHelper. This interface allows the helper to work with both com.pspdfkit.undo.UndoManager (for annotation toolbars) and com.pspdfkit.ui.special_mode.controller.DocumentEditingController (for document editor) through adapter implementations.
Helper class that encapsulates all undo/redo functionality for toolbars. This class handles undo/redo menu item creation, async button state updates, and undo/redo action execution.