Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » Load and use ECore resources with ECore Editor 2.0
icon5.gif  Load and use ECore resources with ECore Editor 2.0 [message #1310582] Wed, 23 April 2014 09:10 Go to next message
Aleksandar Toshovski is currently offline Aleksandar Toshovski
Messages: 38
Registered: December 2011
Member
I want to reuse another ecore file in the ecore editor, but there is no way to load the resource. Using the Sample Ecore Model Editor I load the resource and can add fields, but that is not possible with the new editor. The loaded ETypes are not available. If I add an attribute over the sample ecore model editor, I don't see it in the diagram editor.

Is that feature not yet available, or I'm missing it somewhere?
Re: Load and use ECore resources with ECore Editor 2.0 [message #1314501 is a reply to message #1310582] Fri, 25 April 2014 12:09 Go to previous messageGo to next message
Cedric Brun is currently offline Cedric Brun
Messages: 368
Registered: July 2009
Senior Member
It's available but maybe not where you expect it.

If you are in the context of a "Modeling Project" (your project have then a small "M" on the icon) you can right click on the "Project Dependencies" item and add another Ecore file (or type the complete URI)

http://i.imgur.com/KTVZDbR.png

If you are not using the "Modeling Project" then the same action is available right-clicking on the .aird file.
Re: Load and use ECore resources with ECore Editor 2.0 [message #1320152 is a reply to message #1314501] Mon, 28 April 2014 16:19 Go to previous message
Aleksandar Toshovski is currently offline Aleksandar Toshovski
Messages: 38
Registered: December 2011
Member
Thank you for your reply. It works Smile
Previous Topic:Ecore Tools 2.0 support no generics in the new UML class diagram editor
Next Topic:[SOLVED] Which package contains the presentation-relevant classes for the EMF Diagram editor?
Goto Forum:
  


Current Time: Mon Oct 20 23:01:55 GMT 2014

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

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