Color Bands Gauge Widget [3.1.0.0;6.0.0.0)

This is a built-in feature. You don’t define a parameter, but instead a parameter group (with no other parameters assigned to it) and give that parameter group context: action. Then, on the component that should have the specified action, you don’t set any of the action properties, you just set actionPropsParameterGroup to the name of the action parameter group you just defined. All the different actions and their related inputs will be dynamically produced in the property dialog and passed on to the component.

You can see an example here: