Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » One CompoundCommand covering modifications across multible ResourceSets?
One CompoundCommand covering modifications across multible ResourceSets? [message #428589] Tue, 24 March 2009 20:38 Go to next message
Eclipse UserFriend
Originally posted by: berndvogt.gmx.de

Hi,

is it possible to create (and execute) a compound command that covers
modifications to EObjects contained in different resource sets?

If yes, I typically use the command stack connected with the editing
domain of the resource set I want to modify. Which command stack should
be used to execute such cross resource set commands?

Hm.. is it possible.. or good practise.. that multible editing domains
shares one command stack?

Thanks,
Bernd
Re: One CompoundCommand covering modifications across multible ResourceSets? [message #428593 is a reply to message #428589] Tue, 24 March 2009 21:43 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Bernd,

Comments below.

Bernd Vogt wrote:
> Hi,
>
> is it possible to create (and execute) a compound command that covers
> modifications to EObjects contained in different resource sets?
I suppose. But typically the editing domain is determined from an
adapter or interface implemented by the resource set...
>
> If yes, I typically use the command stack connected with the editing
> domain of the resource set I want to modify.
Indeed.
> Which command stack should be used to execute such cross resource set
> commands?
There can only be one command stack for a related set of objects.
>
> Hm.. is it possible.. or good practise.. that multible editing domains
> shares one command stack?
Probably there should be just one editing domain and one command stack...
>
> Thanks,
> Bernd


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:JMERGE without Eclipse
Next Topic:[emf]generate xml without xmlns:xmi and xmlns:XXX
Goto Forum:
  


Current Time: Fri Apr 26 15:18:48 GMT 2024

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

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

Back to the top