Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Reference ecore model from another ecore model
Reference ecore model from another ecore model [message #1771410] Thu, 24 August 2017 19:30 Go to next message
Susie Agerholm is currently offline Susie AgerholmFriend
Messages: 54
Registered: April 2017
Member
Hello,
I am trying to reference ecore model B from ecore model A in order to be able to use classes from model B in model A.

I have been following this tutorial:
https://stackoverflow.com/questions/9384813/can-i-reuse-ecore-models-by-importing-them-into-other-models

But it is not working. Are there any further step to this than mentioned in the above tutorial?
Re: Reference ecore model from another ecore model [message #1771468 is a reply to message #1771410] Fri, 25 August 2017 10:59 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
What isn't working? Just right-click anywhere in the Ecore Editor and select Load Resource..., find your 'other' ecore model and you'll be able to use its elements.
Re: Reference ecore model from another ecore model [message #1771475 is a reply to message #1771468] Fri, 25 August 2017 11:58 Go to previous messageGo to next message
Susie Agerholm is currently offline Susie AgerholmFriend
Messages: 54
Registered: April 2017
Member
Okay then maybe it is because i dont know how to test properly. Can you give me just a few pointers as to how I check if I can reference the other model?
Re: Reference ecore model from another ecore model [message #1771477 is a reply to message #1771475] Fri, 25 August 2017 12:26 Go to previous messageGo to next message
Susie Agerholm is currently offline Susie AgerholmFriend
Messages: 54
Registered: April 2017
Member
nevermind - i must be blind :D
Re: Reference ecore model from another ecore model [message #1771480 is a reply to message #1771477] Fri, 25 August 2017 12:30 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
You're welcome :)
Previous Topic:XMI Graphical Manipulation
Next Topic:CDO Concurrent Modfiication Exception
Goto Forum:
  


Current Time: Fri Mar 29 02:32:28 GMT 2024

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

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

Back to the top