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

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/p/r/Products.CompositePack-1.2a1/Products/CompositePack/tool.py   Products.CompositePack(Download)
from Products.Archetypes.interfaces.referenceable import IReferenceable
from Products import Archetypes
from Products.Archetypes.utils import insert_zmi_tab_after
 
from Products.CompositePage.tool import CompositeTool as BaseTool
        zmi_dir)
 
    manage_options = insert_zmi_tab_after('Contents',
                                   {'label':'Composites',
                                    'action':'manage_composites'},
                                   Folder.manage_options)
 
    manage_options = insert_zmi_tab_after('Composites',

src/p/r/Products.CompositePack-1.2a1/Products/CompositePack/ClassGen.py   Products.CompositePack(Download)
    from Products.Archetypes.ArchetypeTool import registerType as _registerType
 
from Products.Archetypes.utils import insert_zmi_tab_after
 
from Products.CMFCore import permissions
    def addOptions(self, klass):
        klass.manage_options = insert_zmi_tab_after('Dublin Core', 
                                   {'label':'Composite',
                                    'action':'manage_composite_contents'},
                                   klass.manage_options)