[Checkins] SVN: zope.introspectorui/trunk/src/zope/introspectorui/interfaces.py Add interfaces to prepare more CA-like breadcrumb providers.

Uli Fouquet uli at gnufix.de
Sun Aug 10 11:37:17 EDT 2008


Log message for revision 89600:
  Add interfaces to prepare more CA-like breadcrumb providers.

Changed:
  A   zope.introspectorui/trunk/src/zope/introspectorui/interfaces.py

-=-
Added: zope.introspectorui/trunk/src/zope/introspectorui/interfaces.py
===================================================================
--- zope.introspectorui/trunk/src/zope/introspectorui/interfaces.py	                        (rev 0)
+++ zope.introspectorui/trunk/src/zope/introspectorui/interfaces.py	2008-08-10 15:37:17 UTC (rev 89600)
@@ -0,0 +1,29 @@
+##############################################################################
+#
+# Copyright (c) 2008 Zope Corporation and Contributors.
+# 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.
+#
+##############################################################################
+"""Interfaces for zope.introspectorui.
+"""
+from zope.interface import Interface
+from grokcore.view.interfaces import IGrokView
+
+class ICodeView(IGrokView):
+    """Views that display code.
+    """
+
+class IBreadcrumbProvider(Interface):
+    """Breadcrumb providers provide breadcrumbs for objects.
+    """
+
+    def getBreadcrumbs():
+        """Provide HTML cod containing breadcrumbs.
+        """



More information about the Checkins mailing list