Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MOFScript » Input parameters in a transformation
Input parameters in a transformation [message #1092143] Thu, 22 August 2013 11:36 Go to next message
beaperez Mising name is currently offline beaperez Mising nameFriend
Messages: 81
Registered: July 2009
Member
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 08:49 Go to previous message
beaperez Mising name is currently offline beaperez Mising nameFriend
Messages: 81
Registered: July 2009
Member
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.
Previous Topic:call a java method from a transformation
Next Topic:Is This Project Dead?
Goto Forum:
  


Current Time: Thu Dec 18 02:36:41 GMT 2014

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

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