documentationfor yFiles for HTML 2.6

UndoUnitBase

An abstract base implementation of IUndoUnit.

Inheritance Hierarchy
Implemented Interfaces

Remarks

This class defaults most methods required by the IUndoUnit interface. Subclasses only have to implement the undo/redo logic. Most notably, tryMergeUnit and tryReplaceUnit are implemented to return false. Subclasses are of course allowed to override more methods if clients want to enable additional functionality.

Use this class for simple custom implementations of IUndoUnit.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.graph.UndoUnitBase

See Also

Constructors

Properties

Methods