Xtextgrammar for UML-stereotypes [message #1176625] |
Fri, 08 November 2013 08:00  |
Eclipse User |
|
|
|
Hello,
I am importing the current UML2 metamodel und creating a grammar for a subset of it.
In this way:
import "http://www.eclipse.org/uml2/4.0.0/UML"
Model returns Model:
(packagedElement+=PackageableElement)*;
....
Everything works fine so far. Now I created an uml profile where I extend some UML2-Elements from the UML2-metamodel. I imported and defined my profile in the UML.uml file and everything is valid.
My question is now: Is it possible to access the stereotype-tags for the uml-element I extended, via the xtext grammar? The aim is to implement a textual
representation (DSL) for exactly these stereotype-tags.
Is this even possible in Xtext 2.4.2?
I hope somebody might give me an answer.
Regards,
Alex
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.92894 seconds