eric6/Graphics/ApplicationDiagramBuilder.py

changeset 8291
3d79b1e5bf3c
parent 8287
30eb7bc13d63
child 8295
3f5e8b0a338e
--- a/eric6/Graphics/ApplicationDiagramBuilder.py	Wed May 05 17:29:41 2021 +0200
+++ b/eric6/Graphics/ApplicationDiagramBuilder.py	Wed May 05 18:17:24 2021 +0200
@@ -434,3 +434,15 @@
         self.initialize()
         
         return True
+    
+    def toDict(self):
+        """
+        Public method to collect data to be persisted.
+        
+        @return dictionary containing data to be persisted
+        @rtype dict
+        """
+        return {
+            "project_name": self.project.getProjectName(),
+            "no_modules": self.noModules,
+        }

eric ide

mercurial