Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Generate Diagramm of EMF out of Xtext??
Generate Diagramm of EMF out of Xtext?? [message #876860] Fri, 25 May 2012 08:04 Go to next message
Eclipse UserFriend
Hi Team,

I generated my own Xtext grammar. For documentation purposes, I'd like to automatically create a kind of diagramm or picture that shows the AST or maybe the EMF-Meta model that is generated by Xtext.

Has somebody an Idea, wheater this is possible?
I know, that there are ways to have a graphical editor, that generates the corresponding textual model, but I need it the other way around.

Thanks in advance.
Re: Generate Diagramm of EMF out of Xtext?? [message #876862 is a reply to message #876860] Fri, 25 May 2012 08:08 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

maybe you should have look at Jan's work.

http://koehnlein.blogspot.de/
http://www.slideshare.net/schwurbel/a-fresh-look-at-graphical-editing-12183802

~Christian
Re: Generate Diagramm of EMF out of Xtext?? [message #878894 is a reply to message #876860] Wed, 30 May 2012 02:34 Go to previous message
Eclipse UserFriend
The generated metamodel resides in the src-gen folder of your runtime
project. You can visualize it with any Ecore diagram editor, e.g. from
the Ecore Tools project.

There is also the Xtext Syntax Graph (Show View->Other->Xtext->) that
visualizes the syntax in a railroad diagram.

Am 25.05.12 14:04, schrieb Tim Student:
> Hi Team,
> I generated my own Xtext grammar. For documentation purposes, I'd like
> to automatically create a kind of diagramm or picture that shows the AST
> or maybe the EMF-Meta model that is generated by Xtext.
>
> Has somebody an Idea, wheater this is possible?
> I know, that there are ways to have a graphical editor, that generates
> the corresponding textual model, but I need it the other way around.
>
> Thanks in advance.


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Previous Topic:SerializationFragment generating bad code when grammar mixin
Next Topic:Out of memory during full build
Goto Forum:
  


Current Time: Fri Jul 04 20:50:11 EDT 2025

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

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

Back to the top