Пример #1
0
 def _create_object(self):
     item = self._item
     subject = item.subject
     message = modelfactory.create_message(self.element_factory, subject,
                                           self.inverted)
     item.add_message(message, self.inverted)
     return message
Пример #2
0
 def _create_object(self):
     item = self._item
     subject = item.subject
     message = UML.model.create_message(self.element_factory, subject, self.inverted)
     item.add_message(message, self.inverted)
     return message