Ignore:
Timestamp:
Apr 20, 2012 10:04:56 AM (12 years ago)
Author:
potar
Message:

Merged tests branch

Location:
quintagroup.plonetabs/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonetabs/trunk

    • Property svn:mergeinfo
      •  

        old new  
        11/quintagroup.plonetabs/branches/plone4:3076-3243 
         2/quintagroup.plonetabs/branches/tests:3394-3436 
  • quintagroup.plonetabs/trunk/quintagroup/plonetabs/browser/interfaces.py

    r775 r3437  
    11from zope.interface import Interface, Attribute 
     2 
    23 
    34class IPloneTabsControlPanel(Interface): 
    45    """Configlet for managing portal_actions, quintagroup.plonetabs""" 
    5      
     6 
    67    prefix = Attribute('prefix', 'Prefix to apply on edit forms') 
    78    sufix = Attribute('sufix', 'Sufix to apply on edit forms') 
    8      
     9 
    910    def getPageTitle(category='portal_tabs'): 
    1011        """Return Title for configlet page for given category""" 
    11      
     12 
    1213    def hasActions(category="portal_tabs"): 
    1314        """Whether there are actions in portal_actions with given category""" 
    14      
     15 
    1516    def getPortalActions(category="portal_tabs"): 
    1617        """Return portal actions with given category""" 
    17      
     18 
    1819    def isGeneratedTabs(): 
    1920        """Whether disable_folder_section field is turned off""" 
    20      
     21 
    2122    def isNotFoldersGenerated(): 
    2223        """Whether disable_nonfolderish_sections field is turned off""" 
    23      
     24 
    2425    def getActionsList(category="portal_tabs"): 
    2526        """Return html code for actions list with given category""" 
    26      
     27 
    2728    def getAutoGenereatedSection(cat_name, errors): 
    2829        """Return html code for all autogenerated section""" 
    29      
     30 
    3031    def getGeneratedTabs(): 
    3132        """Return html code for autogenerated tabs""" 
    32      
     33 
    3334    def getRootTabs(): 
    3435        """Return portal root elements""" 
    35      
     36 
    3637    def getCategories(): 
    3738        """Return list of categories contained in portal_actions tool""" 
    38      
     39 
    3940    def portal_tabs(): 
    4041        """See global-sections viewlet""" 
    41      
     42 
    4243    def selected_portal_tab(): 
    4344        """See global-sections viewlet""" 
    44      
     45 
    4546    def test(condition, ifTrue, ifFalse): 
    4647        """Instead of test function in skins page templates""" 
    47      
Note: See TracChangeset for help on using the changeset viewer.