|Re: DSL with XText for PlantUML class diagrams [message #1724138 is a reply to message #1724072]
||Sun, 21 February 2016 16:24
| Tobias Schmidt
Registered: February 2016
Christian Dietrich wrote on Sat, 20 February 2016 18:25|
The value converter gives you the whole thing
As string. Please post what you have
That's the problem. I don't know how to continue and my open post is my current status.
I'm familiar with the value converter and validator concepts but I can't transfer it in a working manner to my problem.
I tried to pass the first and last part of the arrow to a value converter to return an AssociationType Enum but that didn't work at all.
If I pass the whole arrow string to a value converter: how I'm able to identify all components (left type, color, right type) in my model? I know that I can check each part in the converter, but I'm only able to return one information?
terminal ARROW returns AssociationEnum:
(+ the value converter for the ARROW terminal)
That's not working (or just I can't get it to work) and I guess the ARROW terminal is a very bad idea (or at least how i defined it). It's my first time working with Xtext (and DSLs in general) so I guess that I lack basic understanding.
Powered by FUDForum
. Page generated in 0.02686 seconds