Sets the editor class for this Stimulus

def setEditor(self, name):
        """Sets the editor class for this Stimulus"""
        editor = get_stimulus_editor(name)
        self.editor = editor
        self._stim.setStimType(name)