Could not attach listener to org.eclipse.jface.examples.databinding.snippets.Snippet000HelloWorld$Person@92668c
java.lang.NoSuchMethodException: org.eclipse.jface.examples.databinding.snippets.Snippet000HelloWorld$Person.addPropertyChangeListener(java.beans.PropertyChangeListener)
at java.lang.Class.getMethod(Class.java:986)
...
and then asked...
"Why is this exception being logged?"
and we said...
"Because your object is not a Bean."
and you said...
"Correct. But I don't want that logged."
and we said...
"Well, if it's not a Bean then BeanObservables might not be the correct thing for you."
and you said...
"So what is the correct thing for me?"
and we said...
"It doesn't exist. Roll your own."
and you said...
"!@#$%^%@#$%!"
We heard your cries and created PojoObservables. It does everything that
BeansObservables
does except that it doesn't register PropertyChangeListener
s. As a result it won't respond to changes in the POJO but it provides IObservable* implementations to be used in Binding
s. It makes its first appearance in 3.4M3 as a result of bug 198201.