[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] [DataBinding] Re: Why is it needed for java bean to implement property change support

hao wrote:
jface databinding framwork has provided a lot of help classes, such as BeansObservables and WritableValue. Why is it still needed for java bean to implement property change support

In Eclipse 3.4, there is a new class, org.eclipse.core.databinding.beans.PojoObservables, that supports creating observables on objects that do not fire property change events. The limitation, of course, is that the framework isn't notified if the underlying objects are changed directly - that's what the property change events provide. So if your model objects don't do that they can't tell the data binding framework when their properties have changed.


Hope this helps,
Eric