src/eric7/Graphics/ImportsDiagramBuilder.py

branch
server
changeset 10704
27d21e5163b8
parent 10604
0f4017309f35
parent 10683
779cda568acb
child 10806
2f6df822e3b9
equal deleted inserted replaced
10680:306373ccf8fd 10704:27d21e5163b8
372 AssociationType.IMPORTS, 372 AssociationType.IMPORTS,
373 colors=self.umlView.getDrawingColors(), 373 colors=self.umlView.getDrawingColors(),
374 ) 374 )
375 self.scene.addItem(assoc) 375 self.scene.addItem(assoc)
376 376
377 def parsePersistenceData(self, version, data): # noqa: U100 377 def parsePersistenceData(self, _version, data):
378 """ 378 """
379 Public method to parse persisted data. 379 Public method to parse persisted data.
380 380
381 @param version version of the data 381 @param _version version of the data (unused)
382 @type str 382 @type str
383 @param data persisted data to be parsed 383 @param data persisted data to be parsed
384 @type str 384 @type str
385 @return flag indicating success 385 @return flag indicating success
386 @rtype bool 386 @rtype bool
417 ), 417 ),
418 } 418 }
419 419
420 return data 420 return data
421 421
422 def fromDict(self, version, data): # noqa: U100 422 def fromDict(self, _version, data):
423 """ 423 """
424 Public method to populate the class with data persisted by 'toDict()'. 424 Public method to populate the class with data persisted by 'toDict()'.
425 425
426 @param version version of the data 426 @param _version version of the data (unused)
427 @type str 427 @type str
428 @param data dictionary containing the persisted data 428 @param data dictionary containing the persisted data
429 @type dict 429 @type dict
430 @return tuple containing a flag indicating success and an info 430 @return tuple containing a flag indicating success and an info
431 message in case the diagram belongs to a different project 431 message in case the diagram belongs to a different project

eric ide

mercurial