def METHOD_NAME(self, builder, end_name, end, stereotypes_model):
    subject = end.subject
    title = builder.get_object(f"{end_name}-title")
    if subject.type:
        title.set_text(f"{end_name.title()} (: {subject.type.name})")
    self.update_end_name(builder, end_name, subject)
    navigation = builder.get_object(f"{end_name}-navigation")
    navigation.set_selected(self.NAVIGABILITY.index(subject.navigability))
    aggregation = builder.get_object(f"{end_name}-aggregation")
    aggregation.set_selected(self.AGGREGATION.index(subject.aggregation))
    if stereotypes_model:
        stereotype_list = builder.get_object(f"{end_name}-stereotype-list")
        stereotype_list.set_model(stereotypes_model)
    else:
        stereotype_frame = builder.get_object(f"{end_name}-stereotype-frame")
        stereotype_frame.set_visible(False)