266 return |
266 return |
267 |
267 |
268 self.__fileName = filename |
268 self.__fileName = filename |
269 |
269 |
270 # TODO: add loading of file in JSON format |
270 # TODO: add loading of file in JSON format |
271 # TODO: delete the current one with eric7 |
271 # TODO: eric7: delete the current one |
272 def load(self): |
272 def load(self): |
273 """ |
273 """ |
274 Public method to load a diagram from a file. |
274 Public method to load a diagram from a file. |
275 |
275 |
276 @return flag indicating success (boolean) |
276 @return flag indicating success (boolean) |