commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8932 - trunk/gnue-common/src/definitions


From: jcater
Subject: [gnue] r8932 - trunk/gnue-common/src/definitions
Date: Wed, 25 Oct 2006 22:34:50 -0500 (CDT)

Author: jcater
Date: 2006-10-25 22:34:49 -0500 (Wed, 25 Oct 2006)
New Revision: 8932

Modified:
   trunk/gnue-common/src/definitions/GParser.py
Log:
add a virtual method for notification of node creation (does nothing by default)

Modified: trunk/gnue-common/src/definitions/GParser.py
===================================================================
--- trunk/gnue-common/src/definitions/GParser.py        2006-10-26 02:59:31 UTC 
(rev 8931)
+++ trunk/gnue-common/src/definitions/GParser.py        2006-10-26 03:34:49 UTC 
(rev 8932)
@@ -619,8 +619,16 @@
     self._phaseInitCount = (inits != None and inits > self._phaseInitCount \
                             and inits or self._phaseInitCount)
     assert gDebug (7, "</%s>" % tname)
+    
+    self.object_created(child)
 
+  # ---------------------------------------------------------------------------
+  # Get the root comments sequence
+  # ---------------------------------------------------------------------------
+  def object_created(self, obj): 
+      pass
 
+
   # ---------------------------------------------------------------------------
   # Get the root comments sequence
   # ---------------------------------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]