undo?

Bernhard Reiter bernhard at intevation.de
Fri Jan 21 13:08:49 CET 2005


On Thu, Jan 20, 2005 at 08:03:24PM -0500, Jonathan Coles wrote:

> however, i'm not sure that the whole session file should be a sequence
> of commands. if it was, the only way to get the final state of the
> session would be to run through all the commands from the beginning when
> the session is loaded. if the final state was saved using the current
> mechanism and *in addition* the commands were saved this could be really
> cool. the user could load a saved file and then still be able to undo
> things they had done in a previous session!

Yes, the a configurable number of last executed commands should be saved
to allow undo even after a save-load operation.
First step will be to have this set of undo objects 
so that we actually can do undos during the run.

> also, it would further seperate the UI and Model components and allow
> much fuller tests.

Can you elaborate how it does this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20050121/ecfc9d11/attachment.bin


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)