Author: jmorliaguet Date: Mon Nov 21 20:42:57 2005 New Revision: 1914 Added: cpsskins/branches/jmo-perspectives/portlets/actions/__init__.py (contents, props changed) cpsskins/branches/jmo-perspectives/portlets/actions/portlet.py - copied, changed from r1909, cpsskins/branches/jmo-perspectives/portlets/actions/__init__.py cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/__init__.py (contents, props changed) cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/portlet.py - copied, changed from r1909, cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/__init__.py cpsskins/branches/jmo-perspectives/portlets/custom/__init__.py (contents, props changed) cpsskins/branches/jmo-perspectives/portlets/custom/portlet.py - copied, changed from r1909, cpsskins/branches/jmo-perspectives/portlets/custom/__init__.py cpsskins/branches/jmo-perspectives/portlets/dummy/__init__.py (contents, props changed) cpsskins/branches/jmo-perspectives/portlets/dummy/portlet.py - copied, changed from r1909, cpsskins/branches/jmo-perspectives/portlets/dummy/__init__.py cpsskins/branches/jmo-perspectives/portlets/image/__init__.py (contents, props changed) cpsskins/branches/jmo-perspectives/portlets/image/portlet.py - copied, changed from r1913, cpsskins/branches/jmo-perspectives/portlets/image/__init__.py cpsskins/branches/jmo-perspectives/portlets/macroslot/__init__.py (contents, props changed) cpsskins/branches/jmo-perspectives/portlets/macroslot/portlet.py - copied, changed from r1909, cpsskins/branches/jmo-perspectives/portlets/macroslot/__init__.py Modified: cpsskins/branches/jmo-perspectives/portlets/actions/configure.zcml cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/configure.zcml cpsskins/branches/jmo-perspectives/portlets/custom/configure.zcml cpsskins/branches/jmo-perspectives/portlets/dummy/configure.zcml cpsskins/branches/jmo-perspectives/portlets/image/configure.zcml cpsskins/branches/jmo-perspectives/portlets/macroslot/configure.zcml Log:
- import fixup Added: cpsskins/branches/jmo-perspectives/portlets/actions/__init__.py ============================================================================== --- (empty file) +++ cpsskins/branches/jmo-perspectives/portlets/actions/__init__.py Mon Nov 21 20:42:57 2005 @@ -0,0 +1,19 @@ +############################################################################## +# +# Copyright (c) 2005 Nuxeo 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$ +""" +__docformat__ = "reStructuredText" + Modified: cpsskins/branches/jmo-perspectives/portlets/actions/configure.zcml ============================================================================== --- cpsskins/branches/jmo-perspectives/portlets/actions/configure.zcml (original) +++ cpsskins/branches/jmo-perspectives/portlets/actions/configure.zcml Mon Nov 21 20:42:57 2005 @@ -11,13 +11,13 @@ name="cpsskins.actions" title="Actions portlet" description="A portlet that displays actions" - factory=".ActionsPortlet" - schema=".IActionsPortlet" + factory=".portlet.Actions" + schema=".portlet.IActions" icon="actions-icon.png" /> <presentation - for=".IActionsPortlet"> + for=".portlet.IActions"> <display type="box" Copied: cpsskins/branches/jmo-perspectives/portlets/actions/portlet.py (from r1909, cpsskins/branches/jmo-perspectives/portlets/actions/__init__.py) ============================================================================== --- cpsskins/branches/jmo-perspectives/portlets/actions/__init__.py (original) +++ cpsskins/branches/jmo-perspectives/portlets/actions/portlet.py Mon Nov 21 20:42:57 2005 @@ -29,17 +29,17 @@ _ = MessageFactory("cpsskins") -class IActionsPortlet(IPortlet): +class IActions(IPortlet): """Interface for actions portlet. """ category = TextLine( title=_("Category"), required=True) -class ActionsPortlet(Portlet): +class Actions(Portlet): """Actions portlet """ - implements(IActionsPortlet) + implements(IActions) def __init__(self, title='', category='zmi_actions', **kw): self.title = title Added: cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/__init__.py ============================================================================== --- (empty file) +++ cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/__init__.py Mon Nov 21 20:42:57 2005 @@ -0,0 +1,19 @@ +############################################################################## +# +# Copyright (c) 2005 Nuxeo 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$ +""" +__docformat__ = "reStructuredText" + Modified: cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/configure.zcml ============================================================================== --- cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/configure.zcml (original) +++ cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/configure.zcml Mon Nov 21 20:42:57 2005 @@ -11,15 +11,15 @@ name="cpsskins.breadcrumbs" title="Breadcrumbs portlet" description="A portlet that displays a navigation trail" - factory=".BreadcrumbsPortlet" - schema=".IBreadcrumbsPortlet" + factory=".portlet.Breadcrumbs" + schema=".portlet.IBreadcrumbs" icon="breadcrumbs-icon.png" /> <!-- The portlet's presentation --> <presentation - for=".IBreadcrumbsPortlet"> + for=".portlet.IBreadcrumbs"> <display type="box" Copied: cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/portlet.py (from r1909, cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/__init__.py) ============================================================================== --- cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/__init__.py (original) +++ cpsskins/branches/jmo-perspectives/portlets/breadcrumbs/portlet.py Mon Nov 21 20:42:57 2005 @@ -28,13 +28,13 @@ _ = MessageFactory("cpsskins") -class IBreadcrumbsPortlet(IPortlet): +class IBreadcrumbs(IPortlet): """Interface for the breadcrumbs portlet""" -class BreadcrumbsPortlet(Portlet): +class Breadcrumbs(Portlet): """Breadcrumbs portlet """ - implements(IBreadcrumbsPortlet) + implements(IBreadcrumbs) def __init__(self, title=''): self.title = title Added: cpsskins/branches/jmo-perspectives/portlets/custom/__init__.py ============================================================================== --- (empty file) +++ cpsskins/branches/jmo-perspectives/portlets/custom/__init__.py Mon Nov 21 20:42:57 2005 @@ -0,0 +1,19 @@ +############################################################################## +# +# Copyright (c) 2005 Nuxeo 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$ +""" +__docformat__ = "reStructuredText" + Modified: cpsskins/branches/jmo-perspectives/portlets/custom/configure.zcml ============================================================================== --- cpsskins/branches/jmo-perspectives/portlets/custom/configure.zcml (original) +++ cpsskins/branches/jmo-perspectives/portlets/custom/configure.zcml Mon Nov 21 20:42:57 2005 @@ -11,8 +11,8 @@ name="cpsskins.custom" title="Custom portlet" description="A portlet that displays a python, ZPT, DTML page" - factory=".CustomPortlet" - schema=".ICustomPortlet" + factory=".portlet.Custom" + schema=".portlet.ICustom" icon="custom-icon.png" /> @@ -20,7 +20,7 @@ <!-- The portlet's presentation --> <presentation - for=".ICustomPortlet"> + for=".portlet.ICustom"> <display type="box" Copied: cpsskins/branches/jmo-perspectives/portlets/custom/portlet.py (from r1909, cpsskins/branches/jmo-perspectives/portlets/custom/__init__.py) ============================================================================== --- cpsskins/branches/jmo-perspectives/portlets/custom/__init__.py (original) +++ cpsskins/branches/jmo-perspectives/portlets/custom/portlet.py Mon Nov 21 20:42:57 2005 @@ -40,7 +40,7 @@ DTML_FORMAT: DTMLPage, } -class ICustomPortlet(IPortlet): +class ICustom(IPortlet): """Interface for the custom portlet. """ format = Choice( @@ -57,10 +57,10 @@ required=True) -class CustomPortlet(Portlet): +class Custom(Portlet): """Custom portlet """ - implements(ICustomPortlet) + implements(ICustom) def __init__(self, title='', format='', source=''): self.title = title Added: cpsskins/branches/jmo-perspectives/portlets/dummy/__init__.py ============================================================================== --- (empty file) +++ cpsskins/branches/jmo-perspectives/portlets/dummy/__init__.py Mon Nov 21 20:42:57 2005 @@ -0,0 +1,19 @@ +############################################################################## +# +# Copyright (c) 2005 Nuxeo 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$ +""" +__docformat__ = "reStructuredText" + Modified: cpsskins/branches/jmo-perspectives/portlets/dummy/configure.zcml ============================================================================== --- cpsskins/branches/jmo-perspectives/portlets/dummy/configure.zcml (original) +++ cpsskins/branches/jmo-perspectives/portlets/dummy/configure.zcml Mon Nov 21 20:42:57 2005 @@ -11,15 +11,15 @@ name="cpsskins.dummy" title="Dummy portlet" description="A portlet for testing" - factory=".DummyPortlet" - schema=".IDummyPortlet" + factory=".portlet.Dummy" + schema=".portlet.IDummy" icon="dummy-icon.png" /> <!-- The portlet's presentation --> <presentation - for=".IDummyPortlet"> + for=".portlet.IDummy"> <display type="box" Copied: cpsskins/branches/jmo-perspectives/portlets/dummy/portlet.py (from r1909, cpsskins/branches/jmo-perspectives/portlets/dummy/__init__.py) ============================================================================== --- cpsskins/branches/jmo-perspectives/portlets/dummy/__init__.py (original) +++ cpsskins/branches/jmo-perspectives/portlets/dummy/portlet.py Mon Nov 21 20:42:57 2005 @@ -26,17 +26,17 @@ _ = MessageFactory("cpsskins") -class IDummyPortlet(IPortlet): +class IDummy(IPortlet): """Interface for dummy portlet. """ text = Text( title=_("Dummy text"), required=True) -class DummyPortlet(Portlet): +class Dummy(Portlet): """Dummy portlet """ - implements(IDummyPortlet) + implements(IDummy) def __init__(self, title='', text=''): self.title = title Added: cpsskins/branches/jmo-perspectives/portlets/image/__init__.py ============================================================================== --- (empty file) +++ cpsskins/branches/jmo-perspectives/portlets/image/__init__.py Mon Nov 21 20:42:57 2005 @@ -0,0 +1,19 @@ +############################################################################## +# +# Copyright (c) 2005 Nuxeo 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$ +""" +__docformat__ = "reStructuredText" + Modified: cpsskins/branches/jmo-perspectives/portlets/image/configure.zcml ============================================================================== --- cpsskins/branches/jmo-perspectives/portlets/image/configure.zcml (original) +++ cpsskins/branches/jmo-perspectives/portlets/image/configure.zcml Mon Nov 21 20:42:57 2005 @@ -11,15 +11,15 @@ name="cpsskins.image" title="Image portlet" description="A portlet that displays an image" - factory=".ImagePortlet" - schema=".IImagePortlet" + factory=".portlet.Image" + schema=".portlet.IImage" icon="image-icon.png" /> <!-- The portlet's presentation --> <presentation - for=".IImagePortlet"> + for=".portlet.IImage"> <display type="box" Copied: cpsskins/branches/jmo-perspectives/portlets/image/portlet.py (from r1913, cpsskins/branches/jmo-perspectives/portlets/image/__init__.py) ============================================================================== --- cpsskins/branches/jmo-perspectives/portlets/image/__init__.py (original) +++ cpsskins/branches/jmo-perspectives/portlets/image/portlet.py Mon Nov 21 20:42:57 2005 @@ -30,7 +30,7 @@ _ = MessageFactory("cpsskins") -class IImagePortlet(IPortlet, IImage): +class IImage(IPortlet, IImage): """Interface for the image portlet. """ link = TextLine( @@ -53,10 +53,10 @@ readonly=True, ) -class ImagePortlet(ImageFile, Portlet): +class Image(ImageFile, Portlet): """Image portlet """ - implements(IImagePortlet) + implements(IImage) def __init__(self, title='', link='', **kw): self.title = title Added: cpsskins/branches/jmo-perspectives/portlets/macroslot/__init__.py ============================================================================== --- (empty file) +++ cpsskins/branches/jmo-perspectives/portlets/macroslot/__init__.py Mon Nov 21 20:42:57 2005 @@ -0,0 +1,19 @@ +############################################################################## +# +# Copyright (c) 2005 Nuxeo 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$ +""" +__docformat__ = "reStructuredText" + Modified: cpsskins/branches/jmo-perspectives/portlets/macroslot/configure.zcml ============================================================================== --- cpsskins/branches/jmo-perspectives/portlets/macroslot/configure.zcml (original) +++ cpsskins/branches/jmo-perspectives/portlets/macroslot/configure.zcml Mon Nov 21 20:42:57 2005 @@ -12,15 +12,15 @@ name="cpsskins.macroslot" title="Macro slot portlet" description="A portlet that displays the main content area of a page" - factory=".MacroSlotPortlet" - schema=".IMacroSlotPortlet" + factory=".portlet.MacroSlot" + schema=".portlet.IMacroSlot" icon="macroslot-icon.png" /> <!-- The portlet's presentation --> <presentation - for=".IMacroSlotPortlet"> + for=".portlet.IMacroSlot"> <display type="box" @@ -38,7 +38,7 @@ </presentation> <browser:page - for=".IMacroSlotPortlet" + for=".portlet.IMacroSlot" name="macroSlotEditor" template="edit.pt" permission="zope.Public" @@ -48,12 +48,12 @@ <browser:layer name="cpsskins-macroless" - interface=".IMacrolessLayer" + interface=".portlet.IMacrolessLayer" /> <browser:skin name="cpsskins-macroless" - interface=".IMacrolessSkin" + interface=".portlet.IMacrolessSkin" /> <browser:page Copied: cpsskins/branches/jmo-perspectives/portlets/macroslot/portlet.py (from r1909, cpsskins/branches/jmo-perspectives/portlets/macroslot/__init__.py) ============================================================================== --- cpsskins/branches/jmo-perspectives/portlets/macroslot/__init__.py (original) +++ cpsskins/branches/jmo-perspectives/portlets/macroslot/portlet.py Mon Nov 21 20:42:57 2005 @@ -35,13 +35,13 @@ class IMacrolessSkin(IMacrolessLayer, IDefaultBrowserLayer): """The macroless skin""" -class IMacroSlotPortlet(IPortlet): +class IMacroSlot(IPortlet): """Interface for the macro slot portlet""" -class MacroSlotPortlet(Portlet): +class MacroSlot(Portlet): """Macro slot portlet """ - implements(IMacroSlotPortlet) + implements(IMacroSlot) def __init__(self, title=''): self.title = title -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins