mς ‘γΈEc@stdZdklZdklZlZdklZdkl Z dk l Z dk l Z defd„ƒYZd S( sMComponent browser views $Id: browser.py 68378 2006-05-29 23:15:12Z whitmo $ (s BrowserView(s enableSites disableSite(sIObjectManagerSite(sbase(sPersistentComponents(s clearSitetObjectManagerSiteViewcBs,tZd„Zd„Zd„Zd„ZRS(NcCsL|ii}|idƒo|iƒn|idƒo|iƒndS(NtMAKESITEt UNMAKESITE(tselftrequesttformthas_keytmakeSitet unmakeSite(RR((t>/data/zmath/zope/lib/python/Products/Five/component/browser.pytupdates  cCsti|iƒS(N(tIObjectManagerSitet providedByRtcontext(R((R tisSite$scCs_ti|iƒotdƒ‚nt|idtƒtƒ}tf|_ |ii |ƒdS(NsThis is already a sitetiface( R R RR t ValueErrort enableSitetPersistentComponentst componentstbaset __bases__tsetSiteManager(RR((R R's   cCsE|iƒptdƒ‚nt|iƒtƒ|iidƒdS(NsThis is not a site(RRRt disableSiteR t clearSiteRtNone(R((R R3s   (t__name__t __module__R RRR(((R Rs   N(t__doc__tProducts.Five.browsert BrowserViewtProducts.Five.componentRRt"Products.Five.component.interfacesR tzope.component.globalregistryRt!zope.component.persistentregistryRtzope.app.component.hooksRR(RRRRRR RR((R t?s