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

All Samples(72)  |  Call(38)  |  Derive(0)  |  Import(34)

src/p/l/plonetheme.sunburst-1.5.0/plonetheme/sunburst/setuphandlers.py   plonetheme.sunburst(Download)
from Products.CMFCore.ActionInformation import Action
from Products.CMFCore.utils import getToolByName
 
PROFILE = 'profile-plonetheme.sunburst:default'
 
    state = dict(atool.site_actions.plone_setup.propertyItems())
    state['visible'] = True
    new_action = Action('plone_setup', **state)
    user_category['plone_setup'] = new_action
 

src/p/l/plonetheme.bootstrap-1.0/plonetheme/bootstrap/setuphandlers.py   plonetheme.bootstrap(Download)
from Products.CMFCore.ActionInformation import Action
from Products.CMFCore.utils import getToolByName
 
 
def setupVarious(context):
    state = dict(atool.site_actions.plone_setup.propertyItems())
    state['visible'] = True
    new_action = Action('plone_setup', **state)
    user_category['plone_setup'] = new_action
 

src/c/o/collective.migrator-1.8/collective/migrator/scripts/actions.py   collective.migrator(Download)
from StringIO import StringIO
from Products.CMFCore.ActionInformation import Action
 
def dump_actions(self):
    out = StringIO()
            print >> out, 'Updated permission:', old_action.getProperty('permissions')
    elif mode == 'create':
        new_action = Action(id)
        new_action._setPropValue('title', title)
        new_action._setPropValue('url_expr', action)

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/browser/actions.py   Products.CMFCore(Download)
from zope.component import queryUtility
 
from Products.CMFCore.ActionInformation import Action
from Products.CMFCore.ActionInformation import ActionCategory
from Products.GenericSetup.browser.utils import AddWithPresettingsViewBase

src/c/y/cyn.in-HEAD/src/ubify.policy/ubify/policy/migration/onetimeinstall.py   cyn.in(Download)
from plone.app.controlpanel.markup import MarkupControlPanelAdapter
from ubify.policy.config import *
from Products.CMFCore.ActionInformation import Action
from Products.CMFCore.ActionInformation import ActionCategory
from Products.CMFCore.Expression import Expression

src/c/y/cyn.in-HEAD/src/ubify.policy/ubify/policy/setuphandlers.py   cyn.in(Download)
from plone.app.controlpanel.markup import MarkupControlPanelAdapter
from config import *
from Products.CMFCore.ActionInformation import Action
from Products.CMFCore.ActionInformation import ActionCategory
from Products.CMFCore.Expression import Expression

src/p/l/plone.app.upgrade-1.3.6/plone/app/upgrade/v30/tests.py   plone.app.upgrade(Download)
from Products.CMFActionIcons.interfaces import IActionIconsTool
from Products.CMFCalendar.interfaces import ICalendarTool
from Products.CMFCore.ActionInformation import Action
from Products.CMFCore.ActionInformation import ActionCategory
from Products.CMFCore.utils import getToolByName
    def testCleanupOldActions(self):
        reply = Action('reply', title='Reply')
        logged_in = Action('logged_in', title='Logged in')
        change_ownership = Action('change_ownership', title='Change ownership')
 

src/p/l/plone.app.upgrade-HEAD/plone/app/upgrade/v30/tests.py   plone.app.upgrade(Download)
from Products.CMFActionIcons.interfaces import IActionIconsTool
from Products.CMFCalendar.interfaces import ICalendarTool
from Products.CMFCore.ActionInformation import Action
from Products.CMFCore.ActionInformation import ActionCategory
from Products.CMFCore.utils import getToolByName
    def testCleanupOldActions(self):
        reply = Action('reply', title='Reply')
        logged_in = Action('logged_in', title='Logged in')
        change_ownership = Action('change_ownership', title='Change ownership')
 

src/e/n/enpraxis.educommons-4.1.2/enpraxis/educommons/upgrades/v3_2_1_to_v3_2_2.py   enpraxis.educommons(Download)
from Products.CMFCore.utils import getToolByName
from Products.ATContentTypes.content.schemata import finalizeATCTSchema
from Products.CMFCore.ActionInformation import Action
from Products.contentmigration.walker import CustomQueryWalker
from Products.contentmigration.migrator import InlineFieldActionMigrator

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_ActionInformation.py   Products.CMFCore(Download)
    def test_listActions(self):
        from Products.CMFCore.ActionInformation import Action
 
        ac = self._makeOne('foo')
        self.assertEqual( ac.listActions(), () )
 
        baz = Action('baz')
    def _makeOne(self, *args, **kw):
        from Products.CMFCore.ActionInformation import Action
 
        return Action(*args, **kw)
 
    def test_interfaces(self):
        from Products.CMFCore.ActionInformation import Action

Previous  1 | 2 | 3  Next