Input parameters in a transformation [message #1092143] |
Thu, 22 August 2013 07:36  |
Eclipse User |
|
|
|
Hello!
I would like the user can input the values of several integer variables needed in one of the MOFScript transformation rule. Right now such values are static in the rule, and it works, but I would like to make such values dynamic, so that in each transformation execution, the user can input the values she/he wants for the integer variables.
My final goal is to develop an Eclipse plugin that includes a menu option to carry out automatically such MOFScript transformation. Right now, it works, but with specific values included in the rule. I would like to give the option to the user to execute the transformation from the plugin, and giving the values she/he wants to such integer variables.
Any idea?
Thank you very much in advance
Bea
|
|
|
Re: Input parameters in a transformation [message #1099817 is a reply to message #1092143] |
Mon, 02 September 2013 04:49  |
Eclipse User |
|
|
|
Finally, I have resolved it by generating (by means of a set of MOFScript transformations) dynamically a java interfaz that asks the user for such values. Such interface is invoked from the MOFScript rule (in a different set of MOFSCript transformations), which captures the values inserted by the user.
|
|
|
Powered by
FUDForum. Page generated in 0.03407 seconds