src/pyams_gis/interfaces/utility.py
changeset 0 c73bb834ccbe
equal deleted inserted replaced
-1:000000000000 0:c73bb834ccbe
       
     1 #
       
     2 # Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net>
       
     3 # All Rights Reserved.
       
     4 #
       
     5 # This software is subject to the provisions of the Zope Public License,
       
     6 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
       
     7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
       
     8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
       
     9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
       
    10 # FOR A PARTICULAR PURPOSE.
       
    11 #
       
    12 
       
    13 
       
    14 __docformat__ = 'restructuredtext'
       
    15 
       
    16 
       
    17 # import standard library
       
    18 
       
    19 # import interfaces
       
    20 from pyams_gis.interfaces.layer import IMapLayer
       
    21 from zope.annotation import IAttributeAnnotatable
       
    22 from zope.container.interfaces import IContainer
       
    23 
       
    24 # import packages
       
    25 from zope.container.constraints import contains
       
    26 
       
    27 
       
    28 class IMapManager(IContainer, IAttributeAnnotatable):
       
    29     """Map manager interface"""
       
    30 
       
    31     contains(IMapLayer)