Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[henshin-dev] Possible model extensions for parameters

Hi,
there are two more or less concrete ideas for extending the Henshin metamodel to improve the usage of unit parameters:

1) Default parameter values: an additional string-field in the Parameter class which can be used to define default parameter values. These default values should be used when no values for these parameters are given at runtime. The default value _expression_ should be evaluated using the JS engine. In the graphical editor, default values could be specified like "x = ..." (if no "=" is used, there is no default value).

2) Constant values for parameter mappings. Sometimes it is helpful to set a specific value for a parameter of an inner unit. This could be done using an additional field in ParameterMapping. The handling would be similarly to default parameter values.

If someone is interested in working on one of these topics, please let me know.

Cheers,
Christian

Back to the top