|
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 __docformat__ = 'restructuredtext' |
|
14 |
|
15 |
|
16 # import standard library |
|
17 |
|
18 # import interfaces |
|
19 from pyams_skin.interfaces.viewlet import IMenuItem |
|
20 |
|
21 # import packages |
|
22 from zope.interface import Interface, Attribute |
|
23 |
|
24 |
|
25 # |
|
26 # Custom menus interfaces |
|
27 # |
|
28 |
|
29 class ISiteTreeMenu(IMenuItem): |
|
30 """Site tree menu marker interface""" |
|
31 |
|
32 |
|
33 class ISiteTreeTable(Interface): |
|
34 """Site tree table view marker interface""" |
|
35 |
|
36 |
|
37 class IDashboardMenu(IMenuItem): |
|
38 """Dashboard menu""" |
|
39 |
|
40 |
|
41 class IMyDashboardMenu(IMenuItem): |
|
42 """My contents dashboard menu""" |
|
43 |
|
44 |
|
45 class IAllContentsMenu(IMenuItem): |
|
46 """Dashboard menu for all contents""" |
|
47 |
|
48 |
|
49 class ISummaryMenu(IMenuItem): |
|
50 """Summary menu""" |
|
51 |
|
52 |
|
53 class IUserAddingsMenuLabel(Interface): |
|
54 """Shared tool adding menu label""" |
|
55 |
|
56 label = Attribute("Addings menu label") |