Last change
on this file since 2207 was
2207,
checked in by mylan, 14 years ago
|
Clean-up needless IMapEnabledView adapter for default pabe
|
File size:
306 bytes
|
Line | |
---|
1 | from zope.interface import implements |
---|
2 | from Products.Maps.interfaces import IMapView |
---|
3 | from Products.Maps.browser.map import BaseMapView |
---|
4 | |
---|
5 | class FolderMapView(BaseMapView): |
---|
6 | implements(IMapView) |
---|
7 | |
---|
8 | @property |
---|
9 | def enabled(self): |
---|
10 | if self.map is None: |
---|
11 | return False |
---|
12 | return True |
---|
Note: See
TracBrowser
for help on using the repository browser.