Class UndoActionReceiver
- java.lang.Object
- 
- com.inductiveautomation.perspective.designer.workspace.undo.UndoActionReceiver
 
- 
 public class UndoActionReceiver extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description UndoActionReceiver(ViewResourceEditor editor)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ViewResourceEditorgetEditor()<T> voidinterceptNext(java.lang.String key, java.lang.Class<T> type, java.util.function.Consumer<T> consumer)Suppress the next received undo event for a given type.<T> voidreceive(java.lang.String key, java.lang.String json)voidsuppressNext(java.lang.String key)
 
- 
- 
- 
Constructor Detail- 
UndoActionReceiverpublic UndoActionReceiver(ViewResourceEditor editor) 
 
- 
 - 
Method Detail- 
getEditorpublic ViewResourceEditor getEditor() 
 - 
suppressNextpublic void suppressNext(java.lang.String key) 
 - 
interceptNextpublic <T> void interceptNext(java.lang.String key, java.lang.Class<T> type, java.util.function.Consumer<T> consumer)Suppress the next received undo event for a given type.
 - 
receivepublic <T> void receive(java.lang.String key, java.lang.String json)
 
- 
 
-