Search Results for

    Show / Hide Table of Contents

    Interface ICollectiveUndoCommand

    Interface representing a self-executing command in the undo buffer. This command type is responsible for controlling its own execution and un-execution. This command will be stored and executed at the highest commander level. The commander will call the Do() and Undo() methods as required - they should not be called before adding to the undo buffer.

    Inherited Members
    IUndoCommand.Name
    IUndoCommand.IsSource
    Namespace: Sdl.DesktopEditor.EditorApi
    Assembly: Sdl.DesktopEditor.EditorApi.dll
    Syntax
    public interface ICollectiveUndoCommand : IUndoCommand

    Methods

    Do()

    Executes the command. This will be called by the undo buffer's commander as required and should not usually be called externally.

    Declaration
    void Do()

    Redo()

    Performs a redo of the command. This will be called by the undo buffer's commander as required and should not usually be called externally.

    Declaration
    void Redo()

    Undo()

    Reverses the execution of the command and restores all affected components to their original state. This will be called by the undo buffer's commander as required and should not usually be called externally.

    Declaration
    void Undo()

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Methods
      • Do()
      • Redo()
      • Undo()
    • Extension Methods
    Back to top Generated by DocFX