--- a/src/pyams_gis/zmi/__init__.py Fri Jan 26 16:06:19 2018 +0100
+++ b/src/pyams_gis/zmi/__init__.py Fri Jan 26 16:07:55 2018 +0100
@@ -16,5 +16,15 @@
# import standard library
# import interfaces
+from pyams_gis.zmi.interfaces import IMapHeaderViewletManager
+from pyams_skin.layer import IPyAMSLayer
# import packages
+from pyams_viewlet.manager import viewletmanager_config, WeightOrderedViewletManager
+from zope.interface import Interface
+
+
+@viewletmanager_config(name='pyams_gis.map.header', view=Interface, layer=IPyAMSLayer,
+ provides=IMapHeaderViewletManager)
+class MapheaderViewletManager(WeightOrderedViewletManager):
+ """Map header viewlet manager"""
--- a/src/pyams_gis/zmi/interfaces.py Fri Jan 26 16:06:19 2018 +0100
+++ b/src/pyams_gis/zmi/interfaces.py Fri Jan 26 16:07:55 2018 +0100
@@ -17,11 +17,16 @@
# import interfaces
from pyams_skin.interfaces.viewlet import IMenuItem
+from pyams_viewlet.interfaces import IViewletManager
# import packages
from zope.interface import Interface
+class IMapHeaderViewletManager(IViewletManager):
+ """Map header viewlet manager marker interface"""
+
+
class IMapManagerMenu(IMenuItem):
"""Map manager menu interface"""