@staticmethod
def _get_model_parameters_ui_model(model):
    """
        For each model parameter return the representation used by the ui (template & js)
        """
    ret = []
    for name in model.ui_configurable_parameters:
        parameter_trait = model.trait[name].trait
        ranger = parameter_trait.range_interval
        default = float(parameter_trait.inits.kwd.get('default'))
        trait_kwd = parameter_trait.inits.kwd
        ret.append({'name': name, 'label': trait_kwd.get('label'),
            'description': trait_kwd.get('doc'), 'min': ranger.lo, 'max':
            ranger.hi, 'step': ranger.step, 'default': default})
    return ret
