Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » ecore model with package dependency
ecore model with package dependency [message #429718] Thu, 30 April 2009 11:21 Go to next message
gitanjali punj is currently offline gitanjali punjFriend
Messages: 59
Registered: July 2009
Member
Hi,
I have an ecore model which is something like this:
There is a topmost package A which has no classes and inside it there
are Packages B and C.
Now there is a dependency/association between the class b1 in package B
and class c in package C.
When i try to create its user model,the packages get separated out as
separate models ,so that means each package is represented as a separate
model and each will have its own xml file.
Is there a way where can i get only 1 model A and hence only 1 user model
for it which will contain data for B and C also?
Re: ecore model with package dependency [message #429720 is a reply to message #429718] Thu, 30 April 2009 12:49 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
Gitanjali,

Comments below.

gitanjali punj wrote:
> Hi,
> I have an ecore model which is something like this:
> There is a topmost package A which has no classes and inside it there
> are Packages B and C.
> Now there is a dependency/association between the class b1 in package
> B and class c in package C.
> When i try to create its user model,the packages get separated out as
> separate models ,so that means each package is represented as a
> separate model and each will have its own xml file.
Yes, there is a wizard and editor per package/model
> Is there a way where can i get only 1 model A and hence only 1 user
> model for it which will contain data for B and C also?
No, but keep in mind that your comment about each model having it's own
XML file doesn't follow from the fact that there are separate models.
You can combine as many models as you like into a single resource and
you can suppressed wizards and editors from being generated for models
that don't need them.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Notification Chain Capturing
Next Topic:Serializing EMF Model with XML - Top Element
Goto Forum:
  


Current Time: Tue May 07 14:18:47 GMT 2024

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

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

Back to the top