src/eric7/Graphics/UMLDiagramBuilder.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
68 68
69 def parsePersistenceData(self, version, data): # noqa: U100 69 def parsePersistenceData(self, version, data): # noqa: U100
70 """ 70 """
71 Public method to parse persisted data. 71 Public method to parse persisted data.
72 72
73 @param version version of the data 73 @param version version of the data (unused)
74 @type str 74 @type str
75 @param data persisted data to be parsed 75 @param data persisted data to be parsed (unused)
76 @type str 76 @type str
77 @return flag indicating success 77 @return flag indicating success
78 @rtype bool 78 @rtype bool
79 """ 79 """
80 return True 80 return True
90 90
91 def fromDict(self, version, data): # noqa: U100 91 def fromDict(self, version, data): # noqa: U100
92 """ 92 """
93 Public method to populate the class with data persisted by 'toDict()'. 93 Public method to populate the class with data persisted by 'toDict()'.
94 94
95 @param version version of the data 95 @param version version of the data (unused)
96 @type str 96 @type str
97 @param data dictionary containing the persisted data 97 @param data dictionary containing the persisted data (unused)
98 @type dict 98 @type dict
99 @return tuple containing a flag indicating success and an info 99 @return tuple containing a flag indicating success and an info
100 message in case the diagram belongs to a different project 100 message in case the diagram belongs to a different project
101 @rtype tuple of (bool, str) 101 @rtype tuple of (bool, str)
102 """ 102 """

eric ide

mercurial