Package jetbrains.mps.smodel
Class DefaultUndoHandler
- java.lang.Object
 - 
- jetbrains.mps.smodel.DefaultUndoHandler
 
 
- 
- All Implemented Interfaces:
 UndoHandler
public class DefaultUndoHandler extends Object implements UndoHandler
 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultUndoHandler() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddUndoableAction(SNodeUndoableAction action)Receives information about a model change in a form suitable for undo. 
 - 
 
- 
- 
Method Detail
- 
addUndoableAction
public void addUndoableAction(SNodeUndoableAction action)
Description copied from interface:UndoHandlerReceives information about a model change in a form suitable for undo. It's up to implementation to react, i.e. to use some platform mechanism to record the action, filter based on internal state or even to ignore it altogether.- Specified by:
 addUndoableActionin interfaceUndoHandler- Parameters:
 action- nevernull
 
 - 
 
 -