Cross reference example [message #1729015] |
Sat, 09 April 2016 09:51  |
Eclipse User |
|
|
|
Hey guys!
Im playing with this tool, and i want to try something interesting, but the Vorto refuses to help me, and i cant figure it out how can i make it. Can you help me, giving an example of code?
So, i want to create two Entity/Enum, whom has an attribute referring to each other. so for example:
Entity Alpha {
mandatory Attrib1 as Beta
}
and
Enitity Beta {
mandatory Attrib2 as Alpha
}
How does it work? How does it look like(imports, usings)? I want to check the implemented generators, how they defend this kind of reference and not going into infinite loop, when they generate stuff.
I also interested this kind of reference in the function blocks. Can you help me?
Best regards,
Math
|
|
|
|
|
|
|
|
|
|
Re: Cross reference example [message #1729840 is a reply to message #1729347] |
Tue, 19 April 2016 08:47   |
Eclipse User |
|
|
|
Finally i solved to force my generator working perfectly. Thanks for the help, but i have another question.
Its a bit different topic, but i hope that you wouldnt mind if i ask it here So...
I want to make my generator a bit generic, so after the rightclick->generate order, somehow you can manipulate the sort of database, language of the generated code, etc. Is there any option, to provide a bunch of variations, parameters to the user, during the code generation?
Thanks for the help in advance!
Best regards,
Math
[Updated on: Tue, 19 April 2016 08:47] by Moderator
|
|
|
|
Re: Cross reference example [message #1733894 is a reply to message #1729840] |
Wed, 01 June 2016 17:47  |
Eclipse User |
|
|
|
Hi Math,
I have just read your question regarding the provisioning of parameters for your Generator. Our Virtual Developer Platform allows you to define such parameters for generators that run on it. Also, in relation to Vorto, Virtual Developer lets you ...
- deploy and execute existing Vorto generators (we are currently working on a proof of this by doing it for one of the exmple generators of Vorto)
- develop generators that access the Vorto model repository remotely, through their REST-API
- develop generators that consume Vorto models in form of a set of model files
Cheers,
Marcus
|
|
|
Powered by
FUDForum. Page generated in 0.15993 seconds