def updateSelectionModel(self, components):
        """Creates a new selection model and adds *components* to it

        :param components: components in this view to add to the selection
        :type components: list<:class:`AbstractStimulusComponent<sparkle.stim.abstract_component.AbstractStimulusComponent>`
        """
        # selmodel = self.selectionModel()
        # selmodel.clearSelection()
        selmodel = ComponentSelectionModel(self.model())
        self.setSelectionModel(selmodel)
        for comp in components:
            selmodel.selectComponent(comp)
        self.viewport().update()
Creates a new selection model and adds *components* to it

        :param components: components in this view to add to the selection
        :type components: list<:class:`AbstractStimulusComponent<sparkle.stim.abstract_component.AbstractStimulusComponent>`