Re: Undo capabilities on top of EOF
Re: Undo capabilities on top of EOF
- Subject: Re: Undo capabilities on top of EOF
- From: Chuck Hill <email@hidden>
- Date: Mon, 28 Jan 2008 13:21:02 -0800
On Jan 27, 2008, at 11:03 AM, Florijan Stamenkovic wrote:
Hi all,
Here's a question: has anyone ever tried implementing undo / redo
support for EOF, that is not based on the NSUndoManager? Or, can
one estimate if it is even possible, I am just trying to think
about the possibilities and pitfalls... Here are a few specific
questions:
1. Inserting records, then un-inserting and re-inserting them...
Could the same EOs be used? Would the ec flip? Would the object
graph roll back to the same state, regardless of the deletion rules
of relationships of the inserted object?
2. Same questions about deleting records.
3. Could relationship editing be undone and redone by simply
applying reverse actions? Would EOF accept that without problems?
NSUndoManager will do this, so it is possible.
Chuck
Would it be better to simply ignore insertion and deletion, and
focus only on the editing? Anything else that might be a problem
that I've missed?
Thanks for any thoughts,
Flor
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden