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 |