Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Enumeration error (Importing from existing ecore)
Enumeration error (Importing from existing ecore) [message #1049874] Fri, 26 April 2013 11:45 Go to next message
Brian Tost is currently offline Brian TostFriend
Messages: 4
Registered: April 2013
Junior Member
Hello. This is my first post and I'm new in xtext.

I'm trying to import an ecore model using enumeration like this (using Xtext 2.4.1):

Link: http://

The grammar generated from enumeration is:

FunctionToApply returns FunctionToApply:
	'FunctionToApply' /* TODO: implement this rule and an appropriate IValueConverter */;

I tried to set the enumeration this way:

enum FunctionToApply returns FunctionToApply:
	Handle='0' |

But It gives me error on the editor.
Re: Enumeration error (Importing from existing ecore) [message #1050003 is a reply to message #1049874] Fri, 26 April 2013 15:07 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 10427
Registered: July 2009
Senior Member
What kind of error do you get i cannot reproduce that. can you share a complete example (e.g as zip file)
Previous Topic:cross reference / multiple files / JvmModelInferer
Next Topic:Multiple model instances
Goto Forum:

Current Time: Tue Apr 25 20:46:47 GMT 2017

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

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