[Erp5-report] r16439 - /erp5/trunk/products/ERP5Type/Interactor.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 18 13:50:06 CEST 2007
Author: jp
Date: Tue Sep 18 13:50:05 2007
New Revision: 16439
URL: http://svn.erp5.org?rev=16439&view=rev
Log:
A bit more ideas.
Modified:
erp5/trunk/products/ERP5Type/Interactor.py
Modified: erp5/trunk/products/ERP5Type/Interactor.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Interactor.py?rev=16439&r1=16438&r2=16439&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Interactor.py (original)
+++ erp5/trunk/products/ERP5Type/Interactor.py Tue Sep 18 13:50:05 2007
@@ -143,6 +143,21 @@
pass
# do whatever
+class InteractorOfInteractor(Interactor)
+
+ def __init__(self, interactor):
+ self.interactor = interactor
+
+ def install(self):
+ self.on(interactor.doSomething).doAfter(self.doSomething)
+
+ def doSomething(self, method_call_object):
+ pass
+
test = AqDynamicInteractor()
-test.install()
+test.install()
+
+
+#interactor_of_interactor = InteractorOfInteractor(test)
+#interactor_of_interactor.install()
More information about the Erp5-report
mailing list