ptolemy.kernel.undo
Interface UndoAction

All Known Implementing Classes:
MatchResultViewer.UndoChangeModelAction, MoMLUndoEntry, UndoActionsList, UndoStackAttribute.MergeUndoActions

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: UndoAction.java 57040 2010-01-27 20:52:32Z cxh $
Author:
Edward A. Lee
See Also:
UndoStackAttribute
Accepted Rating:
Green (hyzheng)
Proposed Rating:
Green (eal)

Method Summary
 void execute()
          Execute the undo or redo action.
 

Method Detail

execute

void execute()
             throws java.lang.Exception
Execute the undo or redo action.

Throws:
java.lang.Exception - If something goes wrong.