A description for a parameter to be used in a meta-data, and its
UI in an eventual rollout.
There are reasonable defaults for most of the fields. The ones
that have to be filled are:
- m_name: the name of the parameter. It cannot contain single
quotes. All non-alphanumerical characters will be replaced with
underscores, but the control label will show them.
- m_dataType: for now, supported types are limited to
TYPE_STRING, TYPE_FLOAT, TYPE_BOOL and TYPE_INT
- m_ctrlType: should be appropriate for m_dataType. Supported
types are limited to TYPE_EDITBOX, TYPE_SPINNER,
TYPE_SINGLECHEKBOX, TYPE_CHECKBUTTON and TYPE_SLIDER
- m_ctrlLabel: the label for the corresponding label. If not
defined, m_name will be used
- m_defValue: a default value for the parameter