pyface.undo.action.abstract_command_stack_action module

class pyface.undo.action.abstract_command_stack_action.AbstractCommandStackAction(**traits)[source]

Bases: pyface.action.action.Action

The abstract base class for all actions that operate on a command stack.

undo_manager = Instance(IUndoManager)

The undo manager.


Called when the action is no longer required.

By default this method does nothing, but this would be a great place to unhook trait listeners etc.