Back to index

plone3  3.1.7
interfaces.py
Go to the documentation of this file.
00001 from zope.interface import Attribute
00002 from zope.interface import Interface
00003 
00004 
00005 class IPloneControlPanelView(Interface):
00006     """A marker interface for views showing a controlpanel.
00007     """
00008 
00009 
00010 class IPloneControlPanelForm(IPloneControlPanelView):
00011     """Forms using plone.app.controlpanel
00012     """
00013     
00014     def _on_save():
00015         """Callback mehod which can be implemented by control panels to
00016         react when the form is successfully saved. This avoids the need
00017         to re-define actions only to do some additional notification or
00018         configuration which cannot be handled by the normal schema adapter.
00019         
00020         By default, does nothing.
00021         """
00022 
00023 
00024 class IConfigurationChangedEvent(Interface):
00025     """An event which is fired after a configuration setting has been changed.
00026     """
00027 
00028     context = Attribute("The configuration context which was changed.")
00029 
00030     data = Attribute("The configuration data which was changed.")