Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to pass an enum as parameter in Workflow?
How to pass an enum as parameter in Workflow? [message #1698965] Fri, 19 June 2015 08:14 Go to next message
Tamara Machowa is currently offline Tamara MachowaFriend
Messages: 22
Registered: June 2015
Junior Member
I'm currently writing a fragment and would like to use an enum as a parameter that I would pass to my fragment.
Is there a trick to make the workflow resolve the enum? I just get the error message:
Couldn't resolve reference to Referrable 'my.company.tools.grammars.fragments.sslr.ESonarClass'.
Re: How to pass an enum as parameter in Workflow? [message #1699053 is a reply to message #1698965] Fri, 19 June 2015 20:49 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
i dont think that possible. thus you have to use a string and use valueOf to construct the enum (value)

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Conflicting extension parsers
Next Topic:xText - how to define an include statement
Goto Forum:
  


Current Time: Tue Mar 19 08:13:46 GMT 2024

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

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

Back to the top