Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(63) | Call(25) | Derive(2) | Import(36)
src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/ActionProviderBase.py Products.CMFCore(Download)
from Products.CMFCore.ActionInformation import ActionInfo from Products.CMFCore.ActionInformation import ActionInformation from Products.CMFCore.ActionInformation import getOAI from Products.CMFCore.exceptions import AccessControl_Unauthorized
new_actions = self._cloneActions() new_action = ActionInformation( id=str(id) , title=str(name) , description=str(description)
permissions = ( permissions, ) return ActionInformation( id=id , title=title , action=action
src/e/r/erp5-HEAD/product/ERP5Type/patches/ActionProviderBase.py erp5(Download)
from Products.ERP5Type.Globals import DTMLFile from Products.CMFCore.ActionProviderBase import ActionProviderBase from Products.CMFCore.ActionInformation import ActionInformation from Products.CMFCore.Expression import Expression from Products.ERP5Type import _dtmldir
new_actions = self._cloneActions() new_action = ActionInformation( id=str(id) , title=str(name) , description=str(description)
priority = float(priority) return ActionInformation( id=id , title=title , description=description
src/p/r/Products.PloneFilesZip-1.2.0b1/Products/PloneFilesZip/PloneFilesZipTool.py Products.PloneFilesZip(Download)
from Products.CMFCore import CMFCorePermissions as cmf_permissions from Products.CMFCore.ActionInformation import ActionInformation from Products.CMFCore.Expression import Expression
_actions = ( ActionInformation( id='zip', title='Download all files from this folder in a ZIP file', description='Archive content',
src/p/r/Products.ZSyncer-1.0.3/Products/ZSyncer/ZSyncerTool.py Products.ZSyncer(Download)
from Products.CMFCore.ActionProviderBase import ActionProviderBase from Products.CMFCore.ActionInformation import ActionInformation from Products.CMFCore.Expression import Expression
_actions = [ ActionInformation( id='zsyncer_fol_status', title='Sync Status', action=Expression(text='string: ${folder_url}/zsyncer_folderview'),
), ActionInformation( id='zsyncer_obj_status', title='Sync Status', action=Expression(text='string: ${object_url}/zsyncer_objectview'),
), ActionInformation( id='zsyncer_diff', title='Diff', action=Expression(text='string: ${object_url}/zsyncer_diff'),
src/p/r/Products.PloneKeywordExplorer-0.5.0/Products/PloneKeywordExplorer/tool.py Products.PloneKeywordExplorer(Download)
from Products.CMFCore import permissions as CCP from Products.CMFCore.utils import UniqueObject, getToolByName from Products.CMFCore.ActionInformation import ActionInformation from Products.CMFCore.ActionProviderBase import ActionProviderBase from Products.CMFCore.Expression import Expression
_actions = ( ActionInformation( id='keywordexplorer', title='Keyword Explorer', action=Expression(
src/e/r/erp5-HEAD/product/ERP5Type/ERP5Type.py erp5(Download)
This is used to export a BT. """ from Products.CMFCore.ActionInformation import ActionInformation old_action = ActionInformation(action.reference, category=action.getActionType(),
src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_ActionsTool.py Products.CMFCore(Download)
from Products.CMFCore.ActionInformation import Action from Products.CMFCore.ActionInformation import ActionCategory from Products.CMFCore.ActionInformation import ActionInformation from Products.CMFCore.Expression import Expression from Products.CMFCore.interfaces import ISiteRoot
tool = self.tool tool._actions = ( ActionInformation(id='folderContents', title='Folder contents', action=Expression(text='string:'
src/p/r/Products.takeaction-1.0/Products/takeaction/takeaction.py Products.takeaction(Download)
from Products.CMFCore.ActionInformation import ActionInfo from Products.CMFCore.ActionInformation import ActionInformation from Products.CMFCore.ActionProviderBase import ActionProviderBase from Products.CMFCore.interfaces import IContentish
ids.add(id) action = ActionInformation( id, content.Title(), content.Description(),
src/p/l/plone.app.upgrade-1.3.6/plone/app/upgrade/v30/tests.py plone.app.upgrade(Download)
from Products.CMFCore.interfaces import IURLTool from Products.CMFCore.interfaces import IConfigurableWorkflowTool from Products.CMFCore.ActionInformation import ActionInformation from Products.CMFDiffTool.interfaces import IDiffTool from Products.CMFEditions.interfaces import IArchivistTool
def _migrate_reply_action(self): # Create dummy old ActionInformation reply = ActionInformation('reply', title='Reply', category='reply_actions',
src/p/l/plone.app.upgrade-HEAD/plone/app/upgrade/v30/tests.py plone.app.upgrade(Download)
from Products.CMFCore.interfaces import IURLTool from Products.CMFCore.interfaces import IConfigurableWorkflowTool from Products.CMFCore.ActionInformation import ActionInformation from Products.CMFDiffTool.interfaces import IDiffTool from Products.CMFEditions.interfaces import IArchivistTool
def _migrate_reply_action(self): # Create dummy old ActionInformation reply = ActionInformation('reply', title='Reply', category='reply_actions',
1 | 2 | 3 | 4 Next