undo!

Bernhard Reiter bernhard at intevation.de
Thu Jan 20 21:25:01 CET 2005


On Thu, Jan 20, 2005 at 03:16:35PM -0500, Russell Nelson wrote:
> Bernhard Reiter writes:
>  > Undo certainly is an item on the wish list.
>  > You are completely right in that users (which includes us) like it.
>  > 
>  > So we only need to resolve the disagreement about you not providing
>  > a patch for undo capabilities. >;-)
> 
> It's probably not impossibly difficult, but I don't know enough about
> Thuban innards to be able to do it now, or at any foreseeable date in
> the future.  Just to venture a guess, you could do it using a set of
> wrapper classes around Thuban/Model/*.py, which would inherit the
> original class, and a new UndoRedo class.  The wrapper class would
> record what had been done, and would know how to undo it.  Then you'd
> need an extra set of methods to 1) explain what had been done, and 2)
> redo them.  Just looking at the history file would be useful anyway,
> because you could see how a session had been created.  Not just its
> current state, but what steps had been taken to get there.

I think Bernhard H. would probably like to work on undo
capabilities, too.
He has quite some experience designing undo within in Skencil.


-------------- 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/20050120/3265170f/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)