def pre_update(self, context): # super(ElementItem, self).pre_update(context) self.update_stereotype() DiagramItem.pre_update(self, context) gaphas.Element.pre_update(self, context)
def pre_update(self, context): self.update_stereotype() Item.pre_update(self, context) DiagramItem.pre_update(self, context)
def pre_update(self, context): # first, update stereotype to know its text self.update_stereotype() gaphas.Line.pre_update(self, context) DiagramItem.pre_update(self, context)