Author: jmorliaguet
Date: Wed Nov  2 11:45:24 2005
New Revision: 28881

Added:
   
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/accesskeys/__init__.py
   (contents, props changed)
Log:

- added accesskeys filter (does not do anythibng yet)



Added: 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/accesskeys/__init__.py
==============================================================================
--- (empty file)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/accesskeys/__init__.py
     Wed Nov  2 11:45:24 2005
@@ -0,0 +1,37 @@
+##############################################################################
+#
+# 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"
+
+from zope.interface import implements
+
+from cpsskins.browser.rendering.interfaces import IFilter
+
+class AccessKeys(object):
+    """Adds access keys above an element.
+
+    """
+    implements(IFilter)
+
+    def __init__(self):
+        pass
+
+    def __call__(self, markup, info):
+        """Apply the filter"""
+
+        # TODO: insert access keys herer
+        return markup
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to