BatchImpl

inner class BatchImpl(label: String) : Batch

Constructors

Link copied to clipboard
constructor(label: String)

Properties

Link copied to clipboard
Link copied to clipboard
open override var label: String

A human-readable short description of the changes.

Functions

Link copied to clipboard
open override fun addChange(change: Change?)
Link copied to clipboard
open override fun isSkippable(): Boolean

Does this batch only contain SkippableChanges? These are selection-only changes. This gives us the choice to automatically jump over selection-only batches when performing undo/redo.

Link copied to clipboard
fun redo(): Change?
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open operator fun Change?.unaryPlus()

Adds a Change to this batch using the unary plus operator. e.g.

Link copied to clipboard
fun undo(): Change?