[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: [DataBinding] Does there exist a BufferedObservable?

I see. May strategy (well I'm using EMF) is to set a savepoint and on
cancle I rollback to it. For me this has the advantage that I can check
cross constraints using OCL.

We are discussing Undo/Redo support in bugzilla 285307 and 116465.

Tom

Daniel Krügler schrieb:
> Tom Schindl wrote:
>> Just a short question is all this buffering needed because of undo/redo?
>> Or is there a deeper reason behind it?
> 
> Yes, the buffering model is needed for undo/redo.
> I assume you want to point out that this can be
> realized via databindingContext.updateTargets()
> and I agree that this seems the appropriate
> alternative. But I probably need to provide some
> wrapper for some code parts that don't want to
> be rewritten yet so that this wrapper would act
> as an adaptor to the old-style binding.
> 
> - Daniel