src/pyams_form/schema.py
changeset 0 7a0b409fd4b8
child 104 659ab1e14dca
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_form/schema.py	Thu Feb 19 10:55:46 2015 +0100
@@ -0,0 +1,41 @@
+#
+# Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net>
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+
+__docformat__ = 'restructuredtext'
+
+
+# import standard library
+
+# import interfaces
+from z3c.form.interfaces import IButton
+
+# import packages
+from z3c.form.button import Button
+from zope.interface import implementer
+
+
+class IResetButton(IButton):
+    """Reset button interface"""
+
+
+@implementer(IResetButton)
+class ResetButton(Button):
+    """Reset button"""
+
+
+class ICloseButton(IButton):
+    """Close button interface"""
+
+
+@implementer(ICloseButton)
+class CloseButton(Button):
+    """Close button"""