Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Cross-domain references
Cross-domain references [message #924223] Wed, 26 September 2012 16:22 Go to next message
Martin  odloucký is currently offline Martin odlouckýFriend
Messages: 49
Registered: July 2010
Member
Hello,

in my application, I would like to have two editing domains with separate command stacks, one for model A and one for model B. However, model A may reference some parts of model B and vice versa. What if I delete some part of model B referenced from model A? Model A will not notice the change. Is there some prefered way to handle such situations so that the models and the command stack will stay consisten? Let's say I have two editors each one with its own editing domain.

Thanks.
Re: Cross-domain references [message #924768 is a reply to message #924223] Thu, 27 September 2012 05:31 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Martin,

I think you should have a look at the EMF transaction framework. It
doesn't give you exactly this, but what you suggest below sounds unworkable.

On 26/09/2012 6:22 PM, Martin odloucký wrote:
> Hello,
> in my application, I would like to have two editing domains with
> separate command stacks, one for model A and one for model B. However,
> model A may reference some parts of model B and vice versa. What if I
> delete some part of model B referenced from model A? Model A will not
> notice the change. Is there some prefered way to handle such
> situations so that the models and the command stack will stay
> consisten? Let's say I have two editors each one with its own editing
> domain.
> Thanks.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] Could not activate TCPClientConnector on CDO Hibernate
Next Topic:Fast retrieval of an EClassifier by qualified name and root EPackage
Goto Forum:
  


Current Time: Sat Apr 20 00:03:00 GMT 2024

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

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

Back to the top