ptolemy.kernel.undo
Interface UndoAction

All Known Implementing Classes:
MoMLUndoEntry

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,v 1.6 2004/04/13 03:42:35 cxh Exp $
Author:
Edward A. Lee
See Also:
UndoStackAttribute
Accepted Rating:
Red (cxh)
Proposed Rating:
Yellow (eal)

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

Method Detail

execute

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

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