|Re: How to make the default value of "Literals Interface" to be "false&am [message #1182409 is a reply to message #1181014]
||Tue, 12 November 2013 06:55
| Jan Koehnlein
Registered: July 2009
You should switch to an imported metamodel in the grammar and maintain |
the ecore stuff manually.
Am 11.11.13 11:05, schrieb Matthew Liu:
> Hello all,
> In the generated *.genmodel file, the default value of "Literals Interface" (EPackage --> Model) is "false" (Please see the attached screen-shot). However, I need to use the literals in my customization code. So I have to manually set the value to "true" and re-generate the Model code (it is not convenient for me).
> So, my question is: could I make the default value to be "true' when running the MWE2 workflow? Do I need extra configuration in the *.mwe2 file? Thanks in advance!
> Best Regards,
> Matthew Liu
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Get professional support from the Xtext committers at www.typefox.io
Powered by FUDForum
. Page generated in 0.02217 seconds