def update_object ( self ):
        if not self._locked:
            try:
                value = self.control.GetText()
                if isinstance( self.value, SequenceTypes ):
                    value = value.split()
                self.value = value
                self.control.SetBackgroundColour( OKColor )
                self.control.Refresh()
            except TraitError as excp:
                pass

    #---------------------------------------------------------------------------
    #  Updates the editor when the object trait changes external to the editor:
    #---------------------------------------------------------------------------
Initialize all valid properties.
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/code_editor.py/SourceEditor.update_object--crossover with--dataset/ETHPy150Open smart-on-fhir/client-py/fhirclient/models/imagingobjectselection.py/ImagingObjectSelectionStudySeriesInstanceFrames.__init__