Class UndoHelper


  • public class UndoHelper
    extends Object
    Gives access to platform-specific UndoHandler collector of model undoable actions. Likely, SRepository shall supply UndoHandler instance for its models, so that we don't really need this singleton at all. Perhaps, accessor could be part of SRepositoryExt or SRepositoryAux if we don't want to mix register functionality with undo.
    • Method Detail

      • getInstance

        public static UndoHelper getInstance()
      • setUndoHandler

        public void setUndoHandler​(UndoHandler handler)
      • flushCommand

        @Deprecated
        public void flushCommand()
        Deprecated.
        This method is unused, no-op and scheduled for removal, just don't use it any more
      • startCommand

        @Deprecated
        public void startCommand​(UndoContext context)
        Deprecated.
        This method is unused, no-op and scheduled for removal, just don't use it any more