[1] shows how to observe a property of an object to have a label
updating, that works as long as it is a direct property of the (person)
object.
[2] shows how to chain properties to access "sub-objects" (lets say
persons address)
But how do I combine both?
IObservableMap streetName = BeanProperties.value(Person.class,
"adress").value(BeanProperties.value(Address.class,
"street")).observeDetail(knownElements);
obviously won't work as the "knownElements" are of type
IObservableSet<Person> ...
[1]
https://www.vogella.com/tutorials/EclipseDataBinding/article.html#observing-list-details
[2]
https://www.vogella.com/tutorials/EclipseDataBinding/article.html#chaining-properties
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/platform-dev