Back to index

plone3  3.1.7
events.py
Go to the documentation of this file.
00001 """Event definitions
00002 """
00003 
00004 from zope.interface import implements
00005 
00006 from zope.component.interfaces import ObjectEvent
00007 
00008 from plone.app.form.interfaces import IEditBegunEvent
00009 from plone.app.form.interfaces import IEditCancelledEvent
00010 from plone.app.form.interfaces import IEditSavedEvent
00011 
00012 class EditBegunEvent(ObjectEvent):
00013     """An edit operation was begun
00014     """
00015     implements(IEditBegunEvent)
00016     
00017 class EditCancelledEvent(ObjectEvent):
00018     """An edit operation was cancelled
00019     """
00020     implements(IEditCancelledEvent)
00021     
00022 class EditSavedEvent(ObjectEvent):
00023     """An edit operation was completed
00024     """
00025     implements(IEditSavedEvent)