Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to import existing UML metamodel with Xtext2?
How to import existing UML metamodel with Xtext2? [message #695374] Mon, 11 July 2011 15:57 Go to next message
Jeppe Cramon is currently offline Jeppe CramonFriend
Messages: 37
Registered: July 2009

I've been browsing around this group looking for information and found something related to this topic but with Xtext1 (e.g. but that code doesn't seem to be implementable anymore (e.g. org.eclipse.xtext.ecore.EcoreResourceDescriptionManager doesn't seem to exist anymore - at least not in the org.eclipse.xtext.ecore plugin).

Are there any examples of getting XText2 to play work with a custom UML2 meta model (not just one where I can reference umlMM::Class, but where I can reference concrete classes/etc. from my own Meta model)? Smile

Re: How to import existing UML metamodel with Xtext2? [message #695396 is a reply to message #695374] Mon, 11 July 2011 16:33 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13612
Registered: July 2009
Senior Member
Hi, its basically the same. You have to implement a IResourceServiceProvider. Have a look on what Xtext does for ecore.~Christian

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Previous Topic:Reference to an external Ecore model (inside a plugin)
Next Topic:Can't pick up a fully qualified class name
Goto Forum:

Current Time: Mon Sep 28 05:46:32 GMT 2020

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

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

Back to the top