from AccessControl import ClassSecurityInfo from DateTime import DateTime from Products.Archetypes.atapi import * from Products.CMFCore.utils import UniqueObject import Products..config from appy.gen.plone25.mixins.ToolMixin import ToolMixin from Extensions.appyWrappers import AbstractWrapper, schema = Schema(( ),) fullSchema = OrderedBaseFolderSchema.copy() + schema.copy() class (ToolMixin, UniqueObject, OrderedBaseFolder): '''Tool for .''' security = ClassSecurityInfo() __implements__ = (getattr(UniqueObject,'__implements__',()),) + (getattr(OrderedBaseFolder,'__implements__',()),) archetype_name = '' meta_type = '' portal_type = '' allowed_content_types = () filter_content_types = 0 global_allow = 0 #content_icon = '.gif' immediate_view = 'skyn/view' default_view = 'skyn/view' suppl_views = () typeDescription = "" typeDescMsgId = '_edit_descr' i18nDomain = '' allMetaTypes = wrapperClass = schema = fullSchema schema["id"].widget.visible = False schema["title"].widget.visible = False # When browsing into the tool, the 'configure' portlet should be displayed. left_slots = ['here/portlet_prefs/macros/portlet'] right_slots = [] for elem in dir(ToolMixin): if not elem.startswith('__'): security.declarePublic(elem) # Tool constructor has no id argument, the id is fixed. def __init__(self, id=None): OrderedBaseFolder.__init__(self, '') self.setTitle('') registerType(, '')