[Checkins]
SVN: grok/branches/jw-simpler-skin-registration/src/grok/
Mark old-style skin support with BBB
Philipp von Weitershausen
philikon at philikon.de
Fri Aug 1 11:58:00 EDT 2008
Log message for revision 89159:
Mark old-style skin support with BBB
Changed:
U grok/branches/jw-simpler-skin-registration/src/grok/__init__.py
U grok/branches/jw-simpler-skin-registration/src/grok/components.py
U grok/branches/jw-simpler-skin-registration/src/grok/meta.py
-=-
Modified: grok/branches/jw-simpler-skin-registration/src/grok/__init__.py
===================================================================
--- grok/branches/jw-simpler-skin-registration/src/grok/__init__.py 2008-08-01 15:51:30 UTC (rev 89158)
+++ grok/branches/jw-simpler-skin-registration/src/grok/__init__.py 2008-08-01 15:57:59 UTC (rev 89159)
@@ -42,11 +42,13 @@
from grok.components import Application, Form, AddForm, EditForm, DisplayForm
from grok.components import Indexes
from grok.components import Permission, Role, Public
-from grok.components import Skin, IGrokLayer
from grok.components import RESTProtocol, IRESTLayer
from grok.interfaces import IRESTSkinType
from grok.components import ViewletManager, Viewlet
+# BBB These are deprecated.
+from grok.components import Skin, IGrokLayer
+
from martian import baseclass
from grokcore.component.directive import (
context, name, title, description, provides, global_utility, direct)
Modified: grok/branches/jw-simpler-skin-registration/src/grok/components.py
===================================================================
--- grok/branches/jw-simpler-skin-registration/src/grok/components.py 2008-08-01 15:51:30 UTC (rev 89158)
+++ grok/branches/jw-simpler-skin-registration/src/grok/components.py 2008-08-01 15:57:59 UTC (rev 89159)
@@ -651,12 +651,14 @@
class Role(Role):
pass
-class IGrokLayer(interface.Interface):
+class IRESTLayer(interface.Interface):
pass
-class IRESTLayer(interface.Interface):
+# BBB This interface is deprecated
+class IGrokLayer(interface.Interface):
pass
+# BBB This interface is deprecated
class Skin(object):
pass
Modified: grok/branches/jw-simpler-skin-registration/src/grok/meta.py
===================================================================
--- grok/branches/jw-simpler-skin-registration/src/grok/meta.py 2008-08-01 15:51:30 UTC (rev 89158)
+++ grok/branches/jw-simpler-skin-registration/src/grok/meta.py 2008-08-01 15:57:59 UTC (rev 89159)
@@ -664,6 +664,7 @@
return True
+# BBB Support for grok.Skin is deprecated
class SkinGrokker(martian.ClassGrokker):
martian.component(grok.Skin)
martian.directive(grok.layer, default=IBrowserRequest)
More information about the Checkins
mailing list