Package CMFPlone :: Package setup :: Module SetupBase :: Class SetupWidget
[show private | hide private]
[frames | no frames]

Class SetupWidget

Known Subclasses:
CustomizationPolicySetup, GeneralSetup

Method Summary
  __init__(self, portal)
  active(self)
Returns 1 if this setup widget can be run, if the user doesn't have the correct products, for example, then a string of the reason why is returned
  addItems(self, items)
Adds the items into our Plone database Items - a list of things that means something to this widget, for example the languages widget takes the abbreviations of the pot files
  delItems(self, items)
Dels the items out of our Plone database Items - a list of things that means something to this widget, for example the languages widget takes the abbreviations of the pot files
  installed(self)
Returns a list of the installed items, so that user knows what is currently installed.
  setup(self)
Anything that has to be done for this setup widget to work, this could be adding in new objects or such.

Class Variable Summary
int single = 0                                                                     

Method Details

active(self)

Returns 1 if this setup widget can be run, if the user doesn't have the correct products, for example, then a string of the reason why is returned

addItems(self, items)

Adds the items into our Plone database Items - a list of things that means something to this widget, for example the languages widget takes the abbreviations of the pot files

delItems(self, items)

Dels the items out of our Plone database Items - a list of things that means something to this widget, for example the languages widget takes the abbreviations of the pot files

installed(self)

Returns a list of the installed items, so that user knows what is currently installed. These items are what we would pass to the addItems and delItems methods

setup(self)

Anything that has to be done for this setup widget to work, this could be adding in new objects or such.

Class Variable Details

single

Type:
int
Value:
0                                                                     

Generated by Epydoc 2.1 on Wed Nov 30 03:59:28 2005 http://epydoc.sf.net