Interface UndoAction

  • All Known Implementing Classes:
    MoMLUndoEntry, UndoActionsList, UndoActionTest, UndoLayoutAction

    public interface UndoAction
    This interface represents an undo or redo action that is maintained on an undo/redo stack, such as that maintained by UndoStackAttribute.
    Since:
    Ptolemy II 3.1
    Version:
    $Id$
    Author:
    Edward A. Lee
    See Also:
    UndoStackAttribute
    Pt.AcceptedRating:
    Green (hyzheng)
    Pt.ProposedRating:
    Green (eal)
    • Method Detail

      • execute

        void execute()
              throws java.lang.Exception
        Execute the undo or redo action.
        Throws:
        java.lang.Exception - If something goes wrong.