def METHOD_NAME(self, origin, source):
    if source is self:
        return
    note = self.context.elements.note
    if self.context.elements.note is None:
        note = ""
    if self.text_notes.GetValue() != note:
        self.text_notes.SetValue(note)