def update_object(self, label):
        cb = self._mapper.mapping(label)
        cur_value = parse_value(self.value)
        if cb.checkState() == QtCore.Qt.Checked:
            cur_value.append(cb.value)
        elif cb.value in cur_value:
            cur_value.remove(cb.value)

        if isinstance(self.value, basestring):
            cur_value = ','.join(cur_value)

        self.value = cur_value

    #---------------------------------------------------------------------------
    #  Updates the editor when the object trait changes external to the editor:
    #---------------------------------------------------------------------------
Adds settings to the context.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/check_list_editor.py/CustomEditor.update_object--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/sumo/context_processors.py/global_settings