src/eric7/Graphics/PackageDiagramBuilder.py

branch
server
changeset 10704
27d21e5163b8
parent 10604
0f4017309f35
parent 10683
779cda568acb
child 10806
2f6df822e3b9
equal deleted inserted replaced
10680:306373ccf8fd 10704:27d21e5163b8
564 topToBottom=True, 564 topToBottom=True,
565 colors=self.umlView.getDrawingColors(), 565 colors=self.umlView.getDrawingColors(),
566 ) 566 )
567 self.scene.addItem(assoc) 567 self.scene.addItem(assoc)
568 568
569 def parsePersistenceData(self, version, data): # noqa: U100 569 def parsePersistenceData(self, _version, data):
570 """ 570 """
571 Public method to parse persisted data. 571 Public method to parse persisted data.
572 572
573 @param version version of the data 573 @param _version version of the data (unused)
574 @type str 574 @type str
575 @param data persisted data to be parsed 575 @param data persisted data to be parsed
576 @type str 576 @type str
577 @return flag indicating success 577 @return flag indicating success
578 @rtype bool 578 @rtype bool
609 ), 609 ),
610 } 610 }
611 611
612 return data 612 return data
613 613
614 def fromDict(self, version, data): # noqa: U100 614 def fromDict(self, _version, data):
615 """ 615 """
616 Public method to populate the class with data persisted by 'toDict()'. 616 Public method to populate the class with data persisted by 'toDict()'.
617 617
618 @param version version of the data 618 @param _version version of the data (unused)
619 @type str 619 @type str
620 @param data dictionary containing the persisted data 620 @param data dictionary containing the persisted data
621 @type dict 621 @type dict
622 @return tuple containing a flag indicating success and an info 622 @return tuple containing a flag indicating success and an info
623 message in case the diagram belongs to a different project 623 message in case the diagram belongs to a different project

eric ide

mercurial