14 |
14 |
15 from zope.container.constraints import containers, contains |
15 from zope.container.constraints import containers, contains |
16 from zope.interface import Attribute, Interface |
16 from zope.interface import Attribute, Interface |
17 from zope.schema import Bool, Choice |
17 from zope.schema import Bool, Choice |
18 |
18 |
|
19 from pyams_content import _ |
19 from pyams_content.component.association.interfaces import IAssociationContainer, IAssociationContainerTarget |
20 from pyams_content.component.association.interfaces import IAssociationContainer, IAssociationContainerTarget |
20 from pyams_content.reference.pictograms.interfaces import SELECTED_PICTOGRAM_VOCABULARY |
21 from pyams_content.reference.pictograms.interfaces import SELECTED_PICTOGRAM_VOCABULARY |
21 from pyams_i18n.schema import I18nTextLineField |
22 from pyams_i18n.schema import I18nTextLineField |
22 from pyams_sequence.interfaces import IInternalReference |
23 from pyams_sequence.interfaces import IInternalReference |
23 from pyams_sequence.schema import InternalReferenceField |
24 from pyams_sequence.schema import InternalReferenceField |
24 |
|
25 from pyams_content import _ |
|
26 |
25 |
27 |
26 |
28 class IMenuLink(Interface): |
27 class IMenuLink(Interface): |
29 """Menu link marker interface""" |
28 """Menu link marker interface""" |
30 |
29 |
33 """Menu internal link marker interface""" |
32 """Menu internal link marker interface""" |
34 |
33 |
35 |
34 |
36 class IMenuExternalLink(IMenuLink): |
35 class IMenuExternalLink(IMenuLink): |
37 """Menu external link marker interface""" |
36 """Menu external link marker interface""" |
|
37 |
|
38 |
|
39 class IMenuMailtoLink(IMenuLink): |
|
40 """Menu mailto link marker interface""" |
38 |
41 |
39 |
42 |
40 class IDynamicMenu(Interface): |
43 class IDynamicMenu(Interface): |
41 """Dynamic menu interface""" |
44 """Dynamic menu interface""" |
42 |
45 |