Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Aird from Ecore Model(Generating representation from code.)
Aird from Ecore Model [message #1705990] Thu, 20 August 2015 18:27 Go to next message
Matheus de Alencar is currently offline Matheus de AlencarFriend
Messages: 1
Registered: August 2015
Junior Member
Hi
I have written a simple program following eclipses generation design pattern (having an interface and an implementation class for every class, etc) and annotated it properly.

From the annotated java source code I generated a genmodel and an ecore model properly. Now I want a .aird representation diagram of this ecore model.

I tried New-> Rerpesentations File and associating the ecore model to it, but it gives me only a blank "unclickable" file.

It also gives a copy of my ecore

index.php/fa/22976/0/

Has anyone done this before? How do I generate an aird from an ecore model?

I am using Mars 4.5.0

Thank you.
Re: Aird from Ecore Model [message #1706046 is a reply to message #1705990] Fri, 21 August 2015 11:47 Go to previous message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 671
Registered: July 2009
Location: Trondheim, Norway
Senior Member
Right-click on the Ecore file and select Initialize Ecore Diagram...
Then you must use Sirius -> Model Explorer view to open it.

On 2015-08-20 20:30:13 +0000, Matheus de Alencar said:

> Hi
> I have written a simple program following eclipses generation design
> pattern (having an interface and an implementation class for every
> class, etc) and annotated it properly.
>
> From the annotated java source code I generated a genmodel and an ecore
> model properly. Now I want a .aird representation diagram of this ecore
> model.
>
> I tried New-> Rerpesentations File and associating the ecore model to
> it, but it gives me only a blank "unclickable" file.
>
> It also gives a copy of my ecore
>
>
>
> Has anyone done this before? How do I generate an aird from an ecore model?
>
> I am using Mars 4.5.0
>
> Thank you.
> <image>


--
Hallvard Trætteberg (hal@xxxxxxxx.no)
Associate Professor, IS group, Dept. of Computer and Information
Science at the
Norwegian Univ. of Science and Technology
Previous Topic:[EMFForms] How to access an EObject whose EStructuralFeature is being edited
Next Topic:Call for Submissions: Modeling,Symposium @ EclipseCon Europe 2015
Goto Forum:
  


Current Time: Sat Feb 29 04:34:55 GMT 2020

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

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

Back to the top