public interface UndoRedoManager
This interface is used to record changes triggered by an end user in the screen of a URCap program node contribution (e.g. when a button is clicked). It should be used in a URCap program node to support the Undo/Redo functionality in PolyScope.
 NOTE: Do not use this functionality for URCap installation nodes, since it is not supported (and has no effect). 
 NOTE: This functionality is not relevant for URCap program nodes with a HTML-based user interface, since
 automatic undo is supported for these.
 
| Modifier and Type | Method and Description | 
|---|---|
void | 
recordChanges(UndoableChanges undoableChanges)
 Group changes into one Undo/Redo step. 
 | 
void recordChanges(UndoableChanges undoableChanges)
Group changes into one Undo/Redo step.
Currently Undo/Redo supports changes to the program tree and the data model.undoableChanges - Code to be recorded as one Undo/Redo step.
                        Pressing Undo in PolyScope will undo all changes done to the program tree
                        and the data model inside this block of code.Copyright © 2020. All rights reserved.