I have a TitleAreaDialog with default buttons where I use data binding to synchronize the model and the widgets. How do I delay model updates until the user clicks the 'OK' button?
Thanks!
I have a TitleAreaDialog with default buttons where I use data binding to synchronize the model and the widgets. How do I delay model updates until the user clicks the 'OK' button?
Thanks!
I don't know how to delay. In another way, to register the DisposeListener to check the user select ok or cancel. If the result is not ok, I give up the changes.
In my case, I binded the model fetched from hibernate. Do hibernate persist when 'ok', do refresh model (re-read data from database) when cancel is pressed.
However, I want the function to delay or undo changes, too.