Renamed class
authorThierry Florac <thierry.florac@onf.fr>
Thu, 27 Sep 2018 10:14:49 +0200
changeset 984 754d0102389d
parent 983 a156d6b998a0
child 985 5045e1a3a4bb
Renamed class
src/pyams_content/shared/common/zmi/types.py
--- a/src/pyams_content/shared/common/zmi/types.py	Tue Sep 25 12:37:51 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/types.py	Thu Sep 27 10:14:49 2018 +0200
@@ -22,16 +22,16 @@
 from pyramid.view import view_config
 from z3c.form import field
 from z3c.form.interfaces import DISPLAY_MODE, IDataExtractedEvent
-from z3c.table.interfaces import IValues, IColumn
+from z3c.table.interfaces import IColumn, IValues
 from zope.interface import Invalid
 
 from pyams_content import _
 # import interfaces
-from pyams_content.interfaces import MANAGE_TOOL_PERMISSION, MANAGE_CONTENT_PERMISSION
+from pyams_content.interfaces import MANAGE_CONTENT_PERMISSION, MANAGE_TOOL_PERMISSION
 # import packages
 from pyams_content.reference.pictograms.zmi.widget import PictogramSelectFieldWidget
-from pyams_content.shared.common.interfaces.types import ITypedSharedTool, ITypedDataManager, \
-    IBaseDataType, IDataType, ISubType, IWfTypedSharedContent
+from pyams_content.shared.common.interfaces.types import IBaseDataType, IDataType, ISubType, ITypedDataManager, \
+    ITypedSharedTool, IWfTypedSharedContent
 from pyams_content.shared.common.types import DataType, SubType
 from pyams_content.shared.common.zmi import SharedContentAddForm
 from pyams_content.shared.common.zmi.properties import SharedContentPropertiesEditForm
@@ -46,10 +46,10 @@
 from pyams_skin.interfaces.container import ITableElementName
 from pyams_skin.interfaces.viewlet import IWidgetTitleViewletManager
 from pyams_skin.layer import IPyAMSLayer
-from pyams_skin.table import BaseTable, SorterColumn, TrashColumn, NameColumn, ActionColumn
+from pyams_skin.table import ActionColumn, BaseTable, NameColumn, SorterColumn, TrashColumn
 from pyams_skin.viewlet.menu import MenuItem
 from pyams_skin.viewlet.toolbar import ToolbarAction
-from pyams_utils.adapter import adapter_config, ContextRequestViewAdapter, ContextRequestAdapter
+from pyams_utils.adapter import ContextRequestAdapter, ContextRequestViewAdapter, adapter_config
 from pyams_utils.fanstatic import get_resource_path
 from pyams_utils.traversing import get_parent
 from pyams_utils.unicode import translate_string
@@ -577,7 +577,7 @@
                 permission=MANAGE_CONTENT_PERMISSION)
 @ajax_config(name='properties.json', context=IWfTypedSharedContent, layer=IPyAMSLayer,
              permission=MANAGE_CONTENT_PERMISSION)
-class TypedSharedContentProperteisEditForm(SharedContentPropertiesEditForm):
+class TypedSharedContentPropertiesEditForm(SharedContentPropertiesEditForm):
     """Typed shared content properties edit form"""
 
     @property