src/pyams_content/component/illustration/interfaces/__init__.py
changeset 694 4541a452fd4c
parent 686 43ebbd99dd62
child 918 975dba68ebd5
--- a/src/pyams_content/component/illustration/interfaces/__init__.py	Fri Jun 15 15:29:30 2018 +0200
+++ b/src/pyams_content/component/illustration/interfaces/__init__.py	Fri Jun 15 18:18:16 2018 +0200
@@ -37,6 +37,8 @@
 ILLUSTRATION_KEY = 'pyams_content.illustration'
 ILLUSTRATION_RENDERERS = 'PyAMS.illustration.renderers'
 
+LINK_ILLUSTRATION_KEY = '{0}::link'.format(ILLUSTRATION_KEY)
+
 
 class IBasicIllustration(Interface):
     """Basic illustration interface"""
@@ -73,6 +75,10 @@
                       default='default')
 
 
+class ILinkIllustration(IBasicIllustration):
+    """Navigation link illustration interface"""
+
+
 class IBasicIllustrationTarget(IAttributeAnnotatable):
     """Basic illustration target marker interface"""
 
@@ -81,6 +87,14 @@
     """Illustration target interface"""
 
 
+class ILinkIllustrationTarget(IBasicIllustrationTarget):
+    """Link illustration target interface"""
+
+
+#
+# Illustration paragraph
+#
+
 ILLUSTRATION_PARAGRAPH_TYPE = 'Illustration'
 ILLUSTRATION_PARAGRAPH_NAME = _("Illustration")