Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(444)  |  Call(0)  |  Derive(290)  |  Import(154)

src/e/x/example.blobattype-1.0b2/src/example/blobattype/extender.py   example.blobattype(Download)
from zope.component import adapts
from zope.interface import implements
 
from archetypes.schemaextender.interfaces import ISchemaExtender
from archetypes.schemaextender.field import ExtensionField
class ExtensionBlobField(ExtensionField, BlobField):
    """ derivative of blobfield for extending schemas """
 
 
class ExampleATTypeExtender(object):

src/a/r/archetypes.gridfield-0.1a1/src/archetypes/gridfield/example.py   archetypes.gridfield(Download)
from zope.component import adapts
from zope.interface import implements
from archetypes.schemaextender.interfaces import ISchemaExtender
from archetypes.schemaextender.field import ExtensionField
from Products.ATContentTypes.interface import IATDocument
class ExtGridField(ExtensionField, GridField):
    pass
 
# from archetypes.gridfield.forms import AddForm as GFAddForm
# from archetypes.gridfield.forms import EditForm as GFEditForm

src/u/w/uwosh.pfg.d2c-2.4.3/uwosh/pfg/d2c/extender.py   uwosh.pfg.d2c(Download)
from uwosh.pfg.d2c import pfgMessageFactory as _
 
from archetypes.schemaextender.field import ExtensionField
from plone.memoize.instance import memoize
from AccessControl import ClassSecurityInfo
class XPlainTextField(ExtensionField, PlainTextField):
    pass
 
 
class XTextField(ExtensionField, TextField):
    pass
 
 
class XStringField(ExtensionField, StringField):
class XDateTimeField(ExtensionField, DateTimeField):
    pass
 
 
class XFixedPointField(ExtensionField, FixedPointField):

src/c/o/collective.subscribemember-1.11/collective/subscribemember/content/subscribemember.py   collective.subscribemember(Download)
"""Definition of the Subscribemember content type
"""
 
from archetypes.schemaextender.field import ExtensionField
from archetypes.schemaextender.interfaces import ISchemaExtender, ISchemaModifier
class MemberType(ExtensionField, atapi.StringField):
    """Membership Level."""
    def set(self, instance, value, **kwargs):
        if value != '':
            MEMBERTYPES = getUtility(IMemberTypesGetter).return_member_types()
class MemberExpiryDate(ExtensionField, atapi.DateTimeField):
    """Member Expiry Date."""
 
 
class MemberJoinedDate(ExtensionField, atapi.DateTimeField):
    """Member Joined Date."""
 
 
class MemberRenewedDate(ExtensionField, atapi.DateTimeField):

src/i/u/iuem.photorepository-1.0b4/iuem/photorepository/extender.py   iuem.photorepository(Download)
from Products.Archetypes.atapi import *
from Products.CMFCore.permissions import ModifyPortalContent
from archetypes.schemaextender.field import ExtensionField
from plone.app.blob.subtypes.image import ExtensionBlobField
from archetypes.schemaextender.interfaces import ISchemaExtender
class _ExtensionImageField(ExtensionField, ImageField): pass
class _ExtensionStringField(ExtensionField, StringField): pass
class _ExtensionLinesField(ExtensionField, LinesField): pass
class _ExtensionTextField(ExtensionField, TextField): pass
class _ExtensionDateTimeField(ExtensionField, DateTimeField): pass

src/r/a/raptus.multilanguageplone-1.1a3/raptus/multilanguageplone/extender/fields.py   raptus.multilanguageplone(Download)
from archetypes.schemaextender.field import ExtensionField
from raptus.multilanguagefields import fields
 
class StringField(ExtensionField, fields.StringField):
    """ StringField
    """
 
class LinesField(ExtensionField, fields.LinesField):
class TextField(ExtensionField, fields.TextField):
    """ TextField
    """
 
class FileField(ExtensionField, fields.FileField):

src/s/l/slc.publications-4.7.6/slc/publications/subtypes/publication.py   slc.publications(Download)
from archetypes.schemaextender.interfaces import IOrderableSchemaExtender
from archetypes.schemaextender.field import ExtensionField
from Products.Archetypes import atapi
from Products.ATReferenceBrowserWidget.ATReferenceBrowserWidget import \
    ReferenceBrowserWidget
class ExtendedImageField(ExtensionFieldMixin, ExtensionField,
                         atapi.ImageField):
    """ """
 
 
class ExtendedBooleanField(ExtensionFieldMixin, ExtensionField,
class ExtendedLinesField(ExtensionFieldMixin, ExtensionField,
                         atapi.LinesField):
    """ """
 
 
class ExtendedFileField(ExtensionFieldMixin, ExtensionField, atapi.FileField):

src/p/s/psj.content-0.2/src/psj/content/metadata/fields.py   psj.content(Download)
from Products.Archetypes.public import (BooleanField, TextField, LinesField,
                                        ReferenceField,)
from archetypes.schemaextender.field import ExtensionField
 
class PSJBooleanField(ExtensionField, BooleanField):
    """A boolean field."""
 
class PSJTextLineField(ExtensionField, TextField):
class PSJTextField(ExtensionField, PSJTextLineField):
    """A text field."""
 
class PSJRelationField(ExtensionField, ReferenceField):
    """A relation field."""

src/c/o/collective.blogging-1.3.3/src/collective/blogging/extenders.py   collective.blogging(Download)
from archetypes.schemaextender.interfaces import (ISchemaExtender, IOrderableSchemaExtender,
                                                    IBrowserLayerAwareExtender)
from archetypes.schemaextender.field import ExtensionField
from archetypes.markerfield import InterfaceMarkerField
 
class ExTextField(ExtensionField, TextField):
    """ A text field """
 
class ExBooleanField(ExtensionField, BooleanField):
    """ A boolean field """
 
class ExIntegerField(ExtensionField, IntegerField):
    """ An integer field """
 
class ExStringField(ExtensionField, StringField):

src/p/4/p4a.ploneevent-0.7.4/p4a/ploneevent/recurrence/schemaextender.py   p4a.ploneevent(Download)
# Trying to use archetypes.schemaextender
from zope import component, interface
from archetypes.schemaextender.interfaces import IOrderableSchemaExtender
from archetypes.schemaextender.field import ExtensionField
from Products.Archetypes import atapi
class TextField(ExtensionField, atapi.TextField):
     pass
 
class DateTimeField(ExtensionField, atapi.DateTimeField):
     pass
 
class IntegerField(ExtensionField, atapi.IntegerField):
     pass
 
class StringField(ExtensionField, atapi.StringField):

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next