source: products/quintagroup.plonetabs/trunk/quintagroup/plonetabs/browser/interfaces.py @ 775

Last change on this file since 775 was 775, checked in by piv, 17 years ago

corrected installation script with adding property fields

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1from zope.interface import Interface, Attribute
2
3class IPloneTabsControlPanel(Interface):
4    """Configlet for managing portal_actions, quintagroup.plonetabs"""
5   
6    prefix = Attribute('prefix', 'Prefix to apply on edit forms')
7    sufix = Attribute('sufix', 'Sufix to apply on edit forms')
8   
9    def getPageTitle(category='portal_tabs'):
10        """Return Title for configlet page for given category"""
11   
12    def hasActions(category="portal_tabs"):
13        """Whether there are actions in portal_actions with given category"""
14   
15    def getPortalActions(category="portal_tabs"):
16        """Return portal actions with given category"""
17   
18    def isGeneratedTabs():
19        """Whether disable_folder_section field is turned off"""
20   
21    def isNotFoldersGenerated():
22        """Whether disable_nonfolderish_sections field is turned off"""
23   
24    def getActionsList(category="portal_tabs"):
25        """Return html code for actions list with given category"""
26   
27    def getAutoGenereatedSection(cat_name, errors):
28        """Return html code for all autogenerated section"""
29   
30    def getGeneratedTabs():
31        """Return html code for autogenerated tabs"""
32   
33    def getRootTabs():
34        """Return portal root elements"""
35   
36    def getCategories():
37        """Return list of categories contained in portal_actions tool"""
38   
39    def portal_tabs():
40        """See global-sections viewlet"""
41   
42    def selected_portal_tab():
43        """See global-sections viewlet"""
44   
45    def test(condition, ifTrue, ifFalse):
46        """Instead of test function in skins page templates"""
47   
Note: See TracBrowser for help on using the repository browser.