Commit 39a7e6fd authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added comments.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30622 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 15b502a4
......@@ -115,13 +115,24 @@ class InteractorSource:
class Interactor:
"""
Interactor base class.
Interactor base class.
TODO:
- implement uninstall in a generic way
at the Interactor base class level
"""
def install(self):
"""
Install the interactions. This method must be subclassed.
"""
raise NotImplementedError
def uninstall(self):
"""
Uninstall the interactions. Default implementation is provided
by Interactor base class.
"""
raise NotImplementedError
# Interaction implementation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment