Re: Undo capabilities on top of EOF
Re: Undo capabilities on top of EOF
- Subject: Re: Undo capabilities on top of EOF
- From: Ken Anderson <email@hidden>
- Date: Sun, 27 Jan 2008 15:11:46 -0500
Florijan,
You can always look at see what EOF puts on the undo stack for
whatever operation you want to undo - that would be the easiest way
to identify the 'right way' to undo things.
Is this just an exercise? Do you have a goal for wanting to use
something other than NSUndoManager ?
Ken
On Jan 27, 2008, at 2:03 PM, 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?
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40anderhome.com
This email sent to email@hidden
_______________________________________________
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