Trees | Index | Help |
|
---|
Package subjectdata :: Module SetCells :: Class SetCells |
|
Command
--+
|
SetCells
Method Summary | |
---|---|
SetCells's constructor. | |
bool |
Returns true if it is possible to redo |
bool |
Returns true if it is possible to undo |
tuple (bool, string) |
Update __cells with the data in nextState. |
Redo the next action. | |
Undo the last action. |
Method Details |
---|
__init__(self,
cells)
SetCells's constructor. Takes a reference to the dictionnary holding
the cells of a SSheetData object.
|
canRedo(self)Returns true if it is possible to redo
|
canUndo(self)Returns true if it is possible to undo
|
execute(self, nextState)Update __cells with the data in nextState. Return a tuple to propagate parse errors. The first element of the tuple is true if the execute was a success, false otherwise. The second element is the error message.
|
reexecute(self)Redo the next action.
|
unexecute(self)Undo the last action.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Aug 17 18:20:07 2004 | http://epydoc.sf.net |