Class UndoActionReceiver
- java.lang.Object
-
- com.inductiveautomation.perspective.designer.workspace.undo.UndoActionReceiver
-
public class UndoActionReceiver extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UndoActionReceiver(ViewResourceEditor editor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ViewResourceEditor
getEditor()
<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.<T> void
receive(java.lang.String key, java.lang.String json)
void
suppressNext(java.lang.String key)
-
-
-
Constructor Detail
-
UndoActionReceiver
public UndoActionReceiver(ViewResourceEditor editor)
-
-
Method Detail
-
getEditor
public ViewResourceEditor getEditor()
-
suppressNext
public void suppressNext(java.lang.String key)
-
interceptNext
public <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.
-
receive
public <T> void receive(java.lang.String key, java.lang.String json)
-
-