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

All Samples(15)  |  Call(4)  |  Derive(2)  |  Import(9)

src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/SkinsTool.py   Products.CMFPlone(Download)
from AccessControl import ClassSecurityInfo
from App.class_init import InitializeClass
from Products.CMFCore.permissions import ManagePortal
from Products.CMFCore.SkinsTool import SkinsTool as BaseTool
from Products.ResourceRegistries.tools.BaseRegistry import \
class SkinsTool(PloneBaseTool, BaseTool):
 
    meta_type = 'Plone Skins Tool'
    security = ClassSecurityInfo()
    toolicon = 'skins/plone_images/skins_icon.png'

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/SkinsTool.py   Products.CMFPlone(Download)
from AccessControl import ClassSecurityInfo
from App.class_init import InitializeClass
from Products.CMFCore.permissions import ManagePortal
from Products.CMFCore.SkinsTool import SkinsTool as BaseTool
from Products.ResourceRegistries.tools.BaseRegistry import \
class SkinsTool(PloneBaseTool, BaseTool):
 
    meta_type = 'Plone Skins Tool'
    security = ClassSecurityInfo()
    toolicon = 'skins/plone_images/skins_icon.png'

src/e/r/erp5-HEAD/product/ERP5Type/patches/CMFCoreSkinsTool.py   erp5(Download)
##############################################################################
 
from Products.CMFCore.SkinsTool import SkinsTool
 
"""

src/g/o/gomobile.mobile-1.0.5/gomobile/mobile/monkeypatch.py   gomobile.mobile(Download)
 
 
from Products.CMFCore.SkinsTool import SkinsTool
 
 

src/p/l/plone.app.themeeditor-1.0a8/plone/app/themeeditor/tests/test_cmf.py   plone.app.themeeditor(Download)
import unittest
 
from Products.CMFCore.SkinsTool import SkinsTool
from Products.CMFCore.DirectoryView import registerDirectory
from Products.CMFCore.DirectoryView import addDirectoryViews
    def setUp(self):
        tool = self.skins_tool = SkinsTool()
        registerDirectory('cmf_test_skins', globals())
        addDirectoryViews(tool, 'cmf_test_skins', globals())
        tool.addSkinSelection('test', 'test')

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_SkinsTool.py   Products.CMFCore(Download)
    def _makeOne(self, *args, **kw):
        from Products.CMFCore.SkinsTool import SkinsTool
 
        return SkinsTool(*args, **kw)
 
    def test_interfaces(self):
        from Products.CMFCore.interfaces import IActionProvider
        from Products.CMFCore.interfaces import ISkinsContainer
        from Products.CMFCore.interfaces import ISkinsTool
        from Products.CMFCore.SkinsTool import SkinsTool
    def _makeOne(self):
        from Products.CMFCore.SkinsTool import SkinsTool
        from Products.CMFCore.Skinnable import SkinnableObjectManager
 
        class TestSkinnableObjectManager(SkinnableObjectManager):
            tool = SkinsTool()

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/exportimport/tests/test_skins.py   Products.CMFCore(Download)
    def setUp(self):
        from Products.CMFCore import DirectoryView
        from Products.CMFCore.SkinsTool import SkinsTool
 
        _DVRegistrySetup.setUp(self)
        self._obj = SkinsTool()