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.
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.