i'm looking for a solution for a follwoing problem. Let's asume follwing model
Person -> Adress.houseNumber. I want to bind the houseNumber to a text field using FeaturePath but I want that an empty Adress object is created if Person doesn't have the reference set. On subsequent edits (when the intermediate object is there) everything works as expected. I couldn' find any way to hook the behaviour.
I'm not so familiar with all the details of data binding; Tom Schindl implemented and uses that. At some point in the code, you must create a Person instance; perhaps best at that point to immediately create an Address instance and set it, and then ensure that the UI does not allow it to be deleted. If using EMF.Edit, you can specialize the child creation code, XyzItemProvider.collectNewChildDescriptors where Xyz is the container of Person.