Logo Search packages:      
Sourcecode: zope-loginmanager version File versions

PlugIns::PlugIns::PlugInContainer Class Reference

Inheritance diagram for PlugIns::PlugIns::PlugInContainer:

PlugIns::PlugIns::PlugInBase

List of all members.


Detailed Description

PlugInContainers are Folders which can have specialized collaborators known as
PlugIns, managed under management tabs provided by PlugInGroups.

This base class is useless in and of itself, as you must subclass it
to create a particular kind of PlugInContainer.  Your subclass must
define attributes for each PlugInGroup you want to have, plus a
__plugin_groups__ attribute which contains all of the PlugInGroups.  Example:

 class MyPIC(PlugInContainer):
 UserSources  = PlugInGroup('UserSources',
     ['User Source'],attr='userSourcesList'
 )
 LoginMethods = PlugInGroup('LoginMethods',
     ['Login Method'], attr='loginMethodsList'
 )
 __plugin_groups__ = (UserSources, LoginMethods)
 ...

Definition at line 124 of file PlugIns.py.


Public Member Functions

def __init__
def all_meta_types
def filtered_meta_types
def isAPlugIn
def manage_afterAdd
def manage_beforeDelete
def manage_options
def manage_refreshPlugIns

Public Attributes

 id
 title

Static Public Attributes

tuple manage_main = HTMLFile('www/main', globals())
dictionary manage_options_left = {'label':'Methods', 'action':'manage_main'}
tuple manage_options_right = tuple(Folder.manage_options[1:])

Private Member Functions

def _addPlugIn
def _checkId
def _findGroupFor
def _installPlugIn
def _removePlugIn

Static Private Attributes

tuple __ac_permissions__

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index