PreviewOutcome

sealed interface PreviewOutcome

What a checked LocalHeddle.previewApply found: Previewed, or ApplyOutcome.TreeChanged when the checked apply at the same moment would refuse, since the tree the edit started from is no longer running. It shares that arm with ApplyOutcome, so a preview never shows a result the save would refuse.

Inheritors

Types

Link copied to clipboard
data class Previewed(val preview: TopologyPreview) : PreviewOutcome

The tree had not changed since the edit started: preview is what the unchecked LocalHeddle.previewApply returns.