Graphics/UMLDiagramBuilder.py

changeset 2033
4b99609f6a87
parent 2031
c36c2eb62a75
child 2034
8de0fc1f7fef
diff -r 704593d042fe -r 4b99609f6a87 Graphics/UMLDiagramBuilder.py
--- a/Graphics/UMLDiagramBuilder.py	Sun Sep 09 17:46:32 2012 +0200
+++ b/Graphics/UMLDiagramBuilder.py	Sun Sep 09 19:38:07 2012 +0200
@@ -28,6 +28,12 @@
         self.scene = self.umlView.scene()
         self.project = project
     
+    def initialize(self):
+        """
+        Public method to initialize the object.
+        """
+        return
+    
     def buildDiagram(self):
         """
         Public method to build the diagram.
@@ -37,6 +43,14 @@
         raise NotImplementedError(
             "Method 'buildDiagram' must be implemented in subclasses.")
     
+    def getPersistenceData(self):
+        """
+        Public method to get a string for data to be persisted.
+        
+        @return persisted data string (string)
+        """
+        return ""
+    
     def parsePersistenceData(self, data):
         """
         Public method to parse persisted data.

eric ide

mercurial