eric7/Graphics/UMLClassDiagramBuilder.py

branch
eric7
changeset 8348
f4775ae8f441
parent 8318
962bce857696
child 8881
54e42bc2437a
equal deleted inserted replaced
8347:ca9ef7600df7 8348:f4775ae8f441
312 AssociationType.GENERALISATION, 312 AssociationType.GENERALISATION,
313 topToBottom=True, 313 topToBottom=True,
314 colors=self.umlView.getDrawingColors()) 314 colors=self.umlView.getDrawingColors())
315 self.scene.addItem(assoc) 315 self.scene.addItem(assoc)
316 316
317 def getPersistenceData(self):
318 """
319 Public method to get a string for data to be persisted.
320
321 @return persisted data string
322 @rtype str
323 """
324 return "file={0}, no_attributes={1}".format(self.file, self.noAttrs)
325
326 def parsePersistenceData(self, version, data): 317 def parsePersistenceData(self, version, data):
327 """ 318 """
328 Public method to parse persisted data. 319 Public method to parse persisted data.
329 320
330 @param version version of the data 321 @param version version of the data

eric ide

mercurial