Hi Kelvin, thank you for your response. I conclude: -> no automatic databinding from the dataobjects to UI Components in the Swing world with SDO Spec.
I have hard time to understand why this is (intentionally?) omitted. Its a small step to some form of JavaBean PropertyChangeSupport. Maybe anyone has a link to where this might have been discussed? Thanks Steffen On 6/11/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
Steffen, there's no provision in the SDO API for receiving direct notification of changes to values. It would be an unportable and fragile thing to do to rely on the EMF underpinnings of the Tuscany SDO implementation. I don't think there is anything to offer here from the pure SDO API level. Regards, Kelvin. On 10/06/07, Steffen Glomb <[EMAIL PROTECTED]> wrote: > > hopefully common Scenario: > Using SDO in a Swing Rich Client application, > pulling the datagraph to the client. Fields from in the User Interface are > bound to properties of the dataobjects in the graph. > Client side business logic causes changes in the dataobjects. > One might want to have these changes automatically synchronized to the UI > Components. > > > Problem: > I am having difficulties finding a simple way to implement the data > binding. > > > Question: > How can i get the change notification from the dataobject? > ( dataobject.eAdapters() returns an umodifieable list) > > Solution? > The only way i found to accomplish this is through adding an adapter to > the changesummary and unscrambling the changeentries as they are added. > > Is this the intended way? why is the changenotification of EObjectImpl cut > off ? > > > Thanks for sharing your expertise > Steffen >
