Trees | Indices | Help |
|
---|
|
object --+ | Operation --+ | GenericOperationStack
Operation able to undo generic callable commands (one or multiple). It would be used whenever a simple generic operatino is not sufficient
In your api command, create a GenericOperationStack operation instance, add your (mel) commands that should be executed in a row as Call. To apply them, call doIt once (and only once !). You can have only one command stored, or many if they should be executed in a row. The vital part is that with each do command, you supply an undo command. This way your operations can be undone and redone once undo / redo is requested
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
|
|
|
|
Note: use this method if you need the return value of the doCall right away |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 19 18:00:18 2011 | http://epydoc.sourceforge.net |