Interface UndoHandler

  • All Known Implementing Classes:
    DefaultUndoHandler

    public interface UndoHandler
    A mechanism to have globally-accessible platform-specific UndoHandler implementation. Platform supplies proper UndoHandler instance with a help of UndoHelper singleton.
    • Method Detail

      • addUndoableAction

        void addUndoableAction​(SNodeUndoableAction action)
        Receives 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.
        Parameters:
        action - never null