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

All Samples(68)  |  Call(62)  |  Derive(0)  |  Import(6)

src/s/c/sc.contentrules.metadata-1.0.1/src/sc/contentrules/metadata/actions/contributors.py   sc.contentrules.metadata(Download)
from plone.contentrules.rule.interfaces import IExecutable
from plone.contentrules.rule.interfaces import IRuleElementData
from sc.contentrules.metadata import MessageFactory as _
from sc.contentrules.metadata import utils
from zope.component import adapts
 
 
FORM_NAME = _(u"Configure action")
 
FORM_DESC = _(u'An action that sets contributors to a content.')
 
DESC = _(u'The names of people that have contributed to this item. Each '
    '''
 
    contributors = Tuple(title=_(u'Contributors'),
                         description=DESC,
                         value_type=TextLine(),

src/s/c/sc.contentrules.metadata-1.0.1/src/sc/contentrules/metadata/actions/rights.py   sc.contentrules.metadata(Download)
from plone.contentrules.rule.interfaces import IExecutable
from plone.contentrules.rule.interfaces import IRuleElementData
from sc.contentrules.metadata import MessageFactory as _
from sc.contentrules.metadata import utils
from zope.component import adapts
 
 
FORM_NAME = _(u"Configure action")
 
FORM_DESC = _(u'An action that sets rights to a content.')
    '''
 
    rights = Text(title=_(u'Rights'),
                  description=_(u'Inform the copyright statement or other '
                                u'rights information on this item'),

src/s/c/sc.contentrules.metadata-1.0.1/src/sc/contentrules/metadata/actions/language.py   sc.contentrules.metadata(Download)
from plone.contentrules.rule.interfaces import IExecutable
from plone.contentrules.rule.interfaces import IRuleElementData
from sc.contentrules.metadata import MessageFactory as _
from sc.contentrules.metadata import utils
from zope.component import adapts
VOCAB = 'plone.app.vocabularies.AvailableContentLanguages'
 
FORM_NAME = _(u"Configure action")
 
FORM_DESC = _(u'An action that sets language to a content.')
    '''
 
    language = Choice(title=_(u'Language'),
                      description=_(u'Select here the language to be applied '
                                    u'to the content item.'),

src/s/c/sc.contentrules.metadata-1.0.1/src/sc/contentrules/metadata/actions/creators.py   sc.contentrules.metadata(Download)
from plone.contentrules.rule.interfaces import IExecutable
from plone.contentrules.rule.interfaces import IRuleElementData
from sc.contentrules.metadata import MessageFactory as _
from sc.contentrules.metadata import utils
from zope.component import adapts
 
 
FORM_NAME = _(u"Configure action")
 
FORM_DESC = _(u'An action that sets creators to a content.')
    '''
 
    creators = Tuple(title=_(u'Creators'),
                     description=_(u'Persons responsible for creating the '
                                   u'content of this item. Please enter a '

src/s/c/sc.contentrules.metadata-1.0.1/src/sc/contentrules/metadata/actions/subject.py   sc.contentrules.metadata(Download)
from plone.contentrules.rule.interfaces import IExecutable
from plone.contentrules.rule.interfaces import IRuleElementData
from sc.contentrules.metadata import MessageFactory as _
from sc.contentrules.metadata import utils
from zope.component import adapts
VOCAB = 'plone.app.vocabularies.Keywords'
 
FORM_NAME = _(u"Configure action")
 
FORM_DESC = _(u'An action that applies Tags to a content.')
    '''
 
    same_as_parent = Bool(title=_(u"Use Tags from parent object"),
                          description=_(u"Select this to use Tags as defined "
                                        u"in the parent object. If this "

src/s/c/sc.contentrules.metadata-1.0.1/src/sc/contentrules/metadata/actions/navigation.py   sc.contentrules.metadata(Download)
from plone.contentrules.rule.interfaces import IExecutable
from plone.contentrules.rule.interfaces import IRuleElementData
from sc.contentrules.metadata import MessageFactory as _
from sc.contentrules.metadata import utils
from zope.component import adapts
 
 
FORM_NAME = _(u"Configure action")
 
FORM_DESC = _(u'An action that excludes contents from navigation.')
    '''
 
    exclude = Bool(title=_(u"Exclude content from navigation"),
                   description=_(u"If checked the content will not be "
                                 u"listed in portal navigation elements."))