Package-level declarations

Types

Link copied to clipboard

Observable single + multi selection model used by the editor's master pane (scenario workflow §6) and any other list-or-table surface that wants standard click semantics:

Link copied to clipboard
data class UndoableOperation(val description: String, val undo: () -> Unit, val redo: () -> Unit)

A single reversible change pushed onto an UndoStack. The caller is expected to perform the change before pushing the operation; undo reverts that change, redo re-applies it.

Link copied to clipboard
class UndoStack(val limit: Int = DEFAULT_LIMIT)

Per-document undo / redo stack used by the editor's master-pane operations (Add, Clone, Remove, Reorder, Enable/Disable, Rename per scenario workflow §6 — and any other reversible action). Bounded by limit (default 20 per §6); pushing past the cap discards the oldest entry.

Link copied to clipboard
data class UndoState(val canUndo: Boolean = false, val canRedo: Boolean = false, val undoDescription: String? = null, val redoDescription: String? = null)

Snapshot of UndoStack state for menu enablement. Editors collect UndoStack.state to drive Undo / Redo menu items.