Class UndoActionReceiver


  • public class UndoActionReceiver
    extends java.lang.Object
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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)