| [news.eclipse.tools.emf] Re: [CDO] CDOSavePoint and rollback question |
On the other side, is it so bad that the UI of the view updates while the wizard is used. Ok, it's not good design, but it doesn't break anything, or?This is at least uncommon. But as long as your UI correctly tracks the model state, rolling back should bring the UI into the state before the wizard was started.
Yes exactly, committing does not mean saving in my example app. There is no persistence at all, yet. The Store just holds the current state of the model.
I can't really follow with your last part. Committing what transaction? That of the wizard? I guess you mean as you use the MemStore, the document is not persisted (in a database or file). Right?
In my setup for example a document is saved as I use the DerbyStore. When I commit a transaction (when the wizard is finished), the model is stored to the database. Or do you mean something different?
Sebastian