Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » import a model into an editor
import a model into an editor [message #907926] Tue, 04 September 2012 12:50 Go to next message
Li K. is currently offline Li K.Friend
Messages: 9
Registered: September 2012
Junior Member
Hi everybody,

I've got a problem with importing an instance of meta model B into my editor that I've created with Xtext 2.2.1 based on a meta model A (via 'import [...]metamodelA.ecore').
Since there is no Xtext grammar for meta model B, I don't know how to handle this problem. Does anyone know whether there is a way to manage this?

Any help will be greatly appreciated.
Re: import a model into an editor [message #907941 is a reply to message #907926] Tue, 04 September 2012 13:13 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
Hi am not quite sure if I got your problem
Have a look at
http://christiandietrich.wordpress.com/2011/07/17/xtext-2-0-and-uml/

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: import a model into an editor [message #907958 is a reply to message #907941] Tue, 04 September 2012 13:44 Go to previous message
Li K. is currently offline Li K.Friend
Messages: 9
Registered: September 2012
Junior Member
Hi Christian,

sounds promising to me. Especially when it works for other models (not 'only' UML models), as well.

I'll give it a try.

Thanks heaps!
Re: import a model into an editor [message #907972 is a reply to message #907941] Tue, 04 September 2012 13:44 Go to previous message
Li K. is currently offline Li K.Friend
Messages: 9
Registered: September 2012
Junior Member
Hi Christian,

sounds promising to me. Especially when it works for other models (not 'only' UML models), as well.

I'll give it a try.

Thanks heaps!
Previous Topic:Strange operation scoping for Numbers and null
Next Topic: cross references to function definitions with same names but different signatures
Goto Forum:
  


Current Time: Fri Mar 29 07:52:06 GMT 2024

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

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

Back to the top