Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Databinding] Values are not reset if transaction was rolled back be pre-commit listener
[EMF Databinding] Values are not reset if transaction was rolled back be pre-commit listener [message #1049753] Fri, 26 April 2013 08:22
Marc-Florian Wendland is currently offline Marc-Florian WendlandFriend
Messages: 68
Registered: January 2013
Member
Hi all,

I made the following observation concerning ResourceSetChangedListener and
EMF Databinding.

We have a text field in a view that is bound to the name of an element.
Binding and update of the field's content works as expected as long as a
transaction is not rolled back by throwing a RollbackException in
ResourceSetChangeListener.transactionAboutToCommit(). The actual rollback
process succeeds (i.e., the element name has not been changed) but
apparently the update of the bound text field is not triggered.

Undoing the command manually also updates the bound text field properly.

Has anyone experienced the same behavior of EMF Databinding?

I'm still using Eclipse Indigo SR2, so something might have changed in the
meantime.

Regards,
Marc-Florian
Previous Topic:MWE framework and Check language
Next Topic:[Texo] Generate Table Names
Goto Forum:
  


Current Time: Thu Dec 18 15:41:09 GMT 2014

Powered by FUDForum. Page generated in 0.09888 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software