|
Re: Split Generated Model in multiple files [message #1710551 is a reply to message #1710536] |
Wed, 07 October 2015 13:29 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Comments below.
On 07/10/2015 3:08 PM, Test User wrote:
> Hi guys,
>
> i just started working with EMF and created a model according to this
> tutorial http://eclipsesource.com/blogs/tutorials/emf-tutorial/.
>
> My project is quite big and is intended to be used by multiple
> developers at once. In this example the MyBowling.model is used. The
> model itself is saved as plain xml on the filesystem.
>
> Is it possible to create a model that saves its children in different
> files?
Yes. On a containment reference you can set Resolve Proxies to true
(which should be the case by default), and in the GenModel you can set
Containment Proxies to true. If you regenerate with that, you'll see
there is Control... in the context menu for the child object (Player),
which allows you to "move" it to its own resource.
> For example we have the league.bowling file. And it only references
> another file for each player instead of containing all players in one
> file.
>
> Greetings,
>
> an emf newbie
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.01778 seconds