[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: [CDO] CDOSavePoint and rollback question

Hi Tom,

comment below.

Tom Schindl wrote:
Hi,

I'm using EditingDomain and the CommandStack for this kind of because it
makes my Code free from CDO dependencies (and sometimes I want to undo
changes step by step instead of a big rollback) but the CDO
implementation is also working very nice.

Yes, I know of the EditingDomain and the CommandStack (we also had a discussion about that topic a while back). And it's really a nice way to undo model modifications (as you said, more fine grained than a rollback in CDO).
But as I already depend a lot on CDO, I chose the rollback way. It is also a bit easier to implement as I don't have to use commands when modifying the objects myself. On the other side, for modifications only done by data binding EMFEditObservables works great.


Best regards,
Kai