Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Create diagram view of model
Create diagram view of model [message #1761000] Fri, 05 May 2017 08:22 Go to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
Hi,

How can I get the (class) diagram from model (xmi,model,etc.)?
Re: Create diagram view of model [message #1761014 is a reply to message #1761000] Fri, 05 May 2017 09:52 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29545
Registered: July 2009
Senior Member
https://www.eclipse.org/modeling/graphical.php
Re: Create diagram view of model [message #1761024 is a reply to message #1761014] Fri, 05 May 2017 11:26 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6041
Registered: July 2009
Senior Member
Hi

If you specifically mean the Class Diagram of an Ecore metamodel, then https://www.eclipse.org/ecoretools/

Regards

Ed Willink
Re: Create diagram view of model [message #1761054 is a reply to message #1761024] Fri, 05 May 2017 18:29 Go to previous messageGo to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
thank for your replies. I need class diagram of model (not metamodel). like below:
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:persons="persons">
  <persons:Male fullName="Jim March"/>
  <persons:Male fullName="Brandon March"/>
  <persons:Male fullName="Peter Sailor"/>
  <persons:Male fullName="David Sailor"/>
  <persons:Male fullName="Dylan Sailor"/>
  <persons:Female fullName="Cindy March"/>
  <persons:Female fullName="Brenda March"/>
  <persons:Female fullName="Jackie Sailor"/>
  <persons:Female fullName="Kelly Sailor"/>
  </xmi:XMI>


Isn't there any solution other than using GMF?
Re: Create diagram view of model [message #1761055 is a reply to message #1761054] Fri, 05 May 2017 18:34 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6041
Registered: July 2009
Senior Member
Hi

Just follow the Sirius tutorial; Sirius is a friendlier front end to GMF.

Regards

Ed Willink

Re: Create diagram view of model [message #1763724 is a reply to message #1761055] Fri, 19 May 2017 06:01 Go to previous message
saravanakumar Mohanasundaram is currently offline saravanakumar MohanasundaramFriend
Messages: 17
Registered: February 2017
Junior Member
Hi,
To get a diagrammatic view of you model:
Right Click you model (i.e ecore file)--> Initialize ecore diagram file -->Dialog will appear---> Give a name---> Next ---> Finish.

Regards,
saravanakumar

[Updated on: Fri, 19 May 2017 06:03]

Report message to a moderator

Previous Topic:convert ecore to xmi
Next Topic:Location of LDAP server logs at Startup
Goto Forum:
  


Current Time: Sun Sep 23 19:34:39 GMT 2018

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

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

Back to the top