Zope Subversion Repository |
|
Zope: zamplugin.contents/trunk/src/zamplugin/contents/plugin.py
##############################################################################
#
# Copyright (c) 2007 Zope Foundation 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.
#
##############################################################################
"""
$Id: __init__.py 97 2007-03-29 22:58:27Z rineichen $
"""
__docformat__ = "reStructuredText"
import zope.component
from z3c.baseregistry import baseregistry
from zam.api.i18n import MessageFactory as _
from zam.api import plugin
ContentsBaseRegistry = baseregistry.BaseComponents(
zope.component.globalSiteManager, 'zamplugin.contents')
class ContentsPlugin(plugin.BaseRegistryPlugin):
"""ZAM contents.html plugin for IContainer."""
registry = ContentsBaseRegistry
title = _("Container management page")
description = _("This container management page is configured for "
"IReadContainer.")