Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » EMF: Reuse existing Model(How to reuse existing model in a new model)
EMF: Reuse existing Model [message #1426964] Fri, 19 September 2014 13:40 Go to next message
guillen antonio is currently offline guillen antonioFriend
Messages: 6
Registered: July 2013
Junior Member
Hi guys,

I have an existing EMF model for example called Model1.ecore

I want create a new one (Model2.ecore) completely different but I want resuse some objects of the existing one Model1.

How can I do? ( Loading ressource Model1 in Model2, I try, but in model 2 I can't see all the object of Model1, just the ones define as Type!!!!).

I work with the last version of Luna.

Thanks a lot for your help

Antonio
Re: EMF: Reuse existing Model [message #1426985 is a reply to message #1426964] Fri, 19 September 2014 14:16 Go to previous messageGo to next message
Hussein MHANNA is currently offline Hussein MHANNAFriend
Messages: 45
Registered: February 2014
Location: LAVAL
Member
Hi Antonio,

I think that the reason why you can't see all the objects of Model1 is that you create an EAttribute instead of an ERefrence.

PS : This is the E4 forum and your question is releated to EMF.

Kind Reagrds,

Hussein


ALL4TEC
icon7.gif  Re: EMF: Reuse existing Model [message #1426997 is a reply to message #1426985] Fri, 19 September 2014 14:44 Go to previous messageGo to next message
guillen antonio is currently offline guillen antonioFriend
Messages: 6
Registered: July 2013
Junior Member
Thanks a lot, you were right.

Re: EMF: Reuse existing Model [message #1428690 is a reply to message #1426997] Mon, 22 September 2014 07:37 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6580
Registered: July 2009
Senior Member
This forum is about e4 - if you have model stuff to discuss please use
the emf forum!

Tom

On 19.09.14 16:44, guillen antonio wrote:
> Thanks a lot, you were right.
>
>
Previous Topic:Increase launch speed of e4 applicaiton
Next Topic:Check if RCP App is in right-to-left mode?
Goto Forum:
  


Current Time: Mon Jan 25 02:20:05 GMT 2021

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

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

Back to the top