Databinding is triggered by a PropertyChangeListener. I can workaround
my problem by databinding on the UI thread.
public void propertyChange(PropertyChangeEvent evt) {
[...]
getDisplay().asyncExec(new Runnable() {
public void run() {
bind(notifier);
}
});
}
protected void bind(PropertyChangeNotifier notifier) {
dataBindingContext = new DataBindingContext(); // PROBLEM HERE
dataBindingContext.bindValue(
SWTObservables.observeText(myText, SWT.Modify),
BeansObservables.observeValue(notifier, "MY_PROP"),
null, null);
[...]
}
But isn't it an implementation detail of DataBindingContext? If not,
where do I find information about the Realm stuff?
Kind regards, Sebastian