Products.MightyCal.TagRegistry (version 1.7)
index
/home/zope/lib/python/Products/MightyCal/TagRegistry.py

TagRegistry Class.  This is a Folder-based class that automatically populates
itself with all the available Tag classes found in Tags.py.  Its management interface provides
a listing of the currently loaded classes, as well as a Refresh button for repopulating
the Registry in case a Tag class gets added.  This last ability avoids the need to delete
and re-add the whole MightyCal instance when a new Tag gets added by a programmer.

 
Modules
            
Acquisition
Products.MightyCal.Const
Dumper
Products.MightyCal.Tags
Products.MightyCal.Utils
os
re
zLOG

 
Classes
            
Acquisition.Acquirer
TagRegistry(OFS.Folder.Folder, Acquisition.Acquirer, Acquisition.ExplicitAcquirer)
Acquisition.ExplicitAcquirer
TagRegistry(OFS.Folder.Folder, Acquisition.Acquirer, Acquisition.ExplicitAcquirer)
OFS.Folder.Folder(OFS.ObjectManager.ObjectManager, OFS.PropertyManager.PropertyManager, AccessControl.Role.RoleManager, webdav.Collection.Collection, OFS.SimpleItem.Item, OFS.FindSupport.FindSupport)
TagRegistry(OFS.Folder.Folder, Acquisition.Acquirer, Acquisition.ExplicitAcquirer)

 
class TagRegistry
      TagRegistry Class.  Holds instances of all the available Tag classes
 
  
__init__(self)
Construct a new instance of TagRegistry
deleteTemplates(self)
Delete all Tags in preparation for a refresh
hasTag(self, tagName)
Convenience function that reports whether we manage a particular tag or not
manage_refresh(self, REQUEST=None)
Refresh our list of Tags in case a new tag has been added
populate(self)
Finds all non-abstract classes in Tags, and creates instances of them in the TagRegistry

 
Data
             MessageDialog = <HTML instance at 82c28f8>

__file__ = '/home/zope/lib/python/Products/MightyCal/TagRegistry.pyc'

__name__ = 'Products.MightyCal.TagRegistry'

__version__ = '$Revision: 1.7 $'

permViewMgmtScreen = 'View management screens'