[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: HowTo split up an Ecore model?

Morten,

You should be able to achieve this by first creating your new Ecore models 
on disk. Then open the original model and load the new models into the same 
resource set (context menu -> Load Resource...). You should then be able to 
drag-drop model elements between the loaded resources. The only proviso, I 
believe, is that the new resources will need to contain new packages.

Rgds,

Adrian.

"Morten MacFly" <mac-fly@xxxxxxx> wrote in message 
news:fo9bum$vja$1@xxxxxxxxxxxxxxxxxxxx
> Dear all,
> I have modelled an Ecore model that already consists of several 
> (sub-)Ecore models (initially, by design). Unfortunately one of these 
> sub-models has grown too big so I would like to split this up, too 
> (refactoring). But how do I do that? I created a new Ecore  model and 
> tried via copy/paste but this does not work. It seems I cannot copy Ecore 
> contents at all between Ecore models?!
> What to do? Any help is greatly appreciated.
> With regards, Morten.