Author: jmorliaguet Date: Tue Oct 25 00:06:24 2005 New Revision: 28589 Modified: z3lab/cpsskins/branches/jmo-perspectives/elements/__init__.py Log:
- removed unused code Modified: z3lab/cpsskins/branches/jmo-perspectives/elements/__init__.py ============================================================================== --- z3lab/cpsskins/branches/jmo-perspectives/elements/__init__.py (original) +++ z3lab/cpsskins/branches/jmo-perspectives/elements/__init__.py Tue Oct 25 00:06:24 2005 @@ -95,22 +95,6 @@ __used_for__ = IElement - -class ElementType(object): - """Adapter that gets the element type of an element. - """ - adapts(IElement) - implements(IElementType) - - def __init__(self, element): - self.element = element - - def __call__(self): - return queryType(self.element, IElementType) - - def __str__(self): - return str(self()) - class Type(object): """Adapter that gets the content type of an element. """ -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins