+ +
+

pyams_content.shared.imagemap package

+ +
+

Submodules

+
+
+

pyams_content.shared.imagemap.manager module

+
+
+class pyams_content.shared.imagemap.manager.ImageMapsManager
+

Bases: pyams_content.shared.common.manager.SharedTool

+

Image maps manager class

+
+
+shared_content_factory
+

alias of ImageMap

+
+ +
+
+shared_content_type = 'imagemap'
+
+ +
+ +
+
+pyams_content.shared.imagemap.manager.handle_added_imagemaps_manager(event)
+

Register image maps manager when added

+
+ +
+
+

pyams_content.shared.imagemap.paragraph module

+
+
+class pyams_content.shared.imagemap.paragraph.ImageMapParagraph
+

Bases: pyams_content.component.paragraph.BaseParagraph

+

Image map paragraph

+
+
+get_target(state=None)
+
+ +
+
+icon_class = 'fa-location-arrow'
+
+ +
+
+icon_hint = 'Image map'
+
+ +
+
+reference
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+ +
+
+class pyams_content.shared.imagemap.paragraph.ImageMapParagraphContentChecker(context)
+

Bases: pyams_content.component.paragraph.BaseParagraphContentChecker

+

ImageMap paragraph content checker

+
+
+inner_check(request)
+
+ +
+ +
+
+class pyams_content.shared.imagemap.paragraph.ImageMapParagraphFactory
+

Bases: object

+

Image map paragraph factory

+
+
+content_type
+

alias of ImageMapParagraph

+
+ +
+
+name = 'Image map'
+
+ +
+ +
+
+

pyams_content.shared.imagemap.schema module

+
+
+class pyams_content.shared.imagemap.schema.MapArea(*args, **kw)
+

Bases: zope.schema._bootstrapfields.TextLine

+

Map area field class

+
+ +
+
+

Module contents

+
+
+class pyams_content.shared.imagemap.ImageMap
+

Bases: pyams_content.shared.common.SharedContent

+

Workflow managed image map class

+
+
+content_class
+

alias of WfImageMap

+
+ +
+ +
+
+class pyams_content.shared.imagemap.ImageMapArea
+

Bases: persistent.Persistent, zope.container.contained.Contained

+

Image map area class

+
+
+area
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+ +

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+title
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+ +
+
+class pyams_content.shared.imagemap.ImagemapAreasSublocations(context)
+

Bases: pyams_utils.adapter.ContextAdapter

+

Image map area sublocations

+
+
+sublocations()
+
+ +
+ +
+
+class pyams_content.shared.imagemap.ImapemapAreasNamespace(context)
+

Bases: pyams_utils.adapter.ContextAdapter

+

++areas++ namespace traverser

+
+
+traverse(name, furtherpath=None)
+
+ +
+ +
+
+class pyams_content.shared.imagemap.WfImageMap
+

Bases: pyams_content.shared.common.WfSharedContent

+

Base image map

+
+
+add_area(area)
+
+ +
+
+areas
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+content_name = 'Image map'
+
+ +
+
+content_type = 'imagemap'
+
+ +
+
+get_association(area)
+
+ +
+
+image
+
+ +
+
+remove_area(key)
+
+ +
+ +
+
+class pyams_content.shared.imagemap.WfImageMapContentChecker(context)
+

Bases: pyams_content.shared.common.WfSharedContentChecker

+

Image map content checker

+
+
+inner_check(request)
+
+ +
+ +
+
+ + +