Cross-domain references [message #924223] |
Wed, 26 September 2012 12:22  |
Eclipse User |
|
|
|
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 01:31  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.47134 seconds