Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Multiple EditingDomain Resources
Multiple EditingDomain Resources [message #415000] Tue, 27 November 2007 23:15 Go to next message
Eclipse UserFriend
Originally posted by: derrydavis.hotmail.com

I have a single form page that I am using to display data from multiple
models. The form page is being instantiated by a single EMF editor,
editor A and displays 'initial' data. The other data is being read in
via a resource loading it through the file system. The 'other' data is
associated with editor B. However I need to update both data sets. My
approach is to use a commandstack and execute commands on the
editingdomain through it. I can load the 'other' data into the editing
domain, but can't seem to get the command to run against the desired
data. The command run but doesn't do anything to the 'other' data in the
editingdomain. I have successfully run commandstack commands against the
initial data in the editingdomain. Any suggestions? Thanks in advance.
Re: Multiple EditingDomain Resources [message #415001 is a reply to message #415000] Wed, 28 November 2007 00:07 Go to previous messageGo to next message
Steve Blass is currently offline Steve BlassFriend
Messages: 276
Registered: July 2009
Senior Member
Do you Add... model B to the "Referenced generator models" pane in the
"New EMF Project" wizard "Package Selection" page when you create the
project for model A so that when you generate Editor A it knows about
model B? (and/or vice versa)?

-
Steve

derry wrote:
> I have a single form page that I am using to display data from multiple
> models. The form page is being instantiated by a single EMF editor,
> editor A and displays 'initial' data. The other data is being read in
> via a resource loading it through the file system. The 'other' data is
> associated with editor B. However I need to update both data sets. My
> approach is to use a commandstack and execute commands on the
> editingdomain through it. I can load the 'other' data into the editing
> domain, but can't seem to get the command to run against the desired
> data. The command run but doesn't do anything to the 'other' data in the
> editingdomain. I have successfully run commandstack commands against the
> initial data in the editingdomain. Any suggestions? Thanks in advance.
Re: Multiple EditingDomain Resources [message #415003 is a reply to message #415001] Wed, 28 November 2007 02:43 Go to previous message
Eclipse UserFriend
Originally posted by: derrydavis.hotmail.com

Steve Blass wrote:
> Do you Add... model B to the "Referenced generator models" pane in the
> "New EMF Project" wizard "Package Selection" page when you create the
> project for model A so that when you generate Editor A it knows about
> model B? (and/or vice versa)?
>
> -
> Steve
>
> derry wrote:
>> I have a single form page that I am using to display data from
>> multiple models. The form page is being instantiated by a single EMF
>> editor, editor A and displays 'initial' data. The other data is being
>> read in via a resource loading it through the file system. The 'other'
>> data is associated with editor B. However I need to update both data
>> sets. My approach is to use a commandstack and execute commands on the
>> editingdomain through it. I can load the 'other' data into the editing
>> domain, but can't seem to get the command to run against the desired
>> data. The command run but doesn't do anything to the 'other' data in
>> the editingdomain. I have successfully run commandstack commands
>> against the initial data in the editingdomain. Any suggestions?
>> Thanks in advance.
Didn't know about that, that may do the trick. Thanks Steve!
Previous Topic:cross-resource containment and editor issue
Next Topic:emf one namespace to many java package names?
Goto Forum:
  


Current Time: Fri Apr 19 02:38:01 GMT 2024

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

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

Back to the top