[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: [DataBinding] AssertionFailedException: "null argument" when using DataBindingContext's default constructor

Sebastian Paul wrote:
I can workaround my problem by databinding on the UI thread.
> [...]
getDisplay().asyncExec(new Runnable() {

Must be syncExec, as strange behavior would occur. In my case, any change in the Text control causes it to synchronize with the model, moving the text cursor to the beginning on each key press. Might be useful for typing from right to left :D


Kind regards, Sebastian