Changeset 3437 in products for quintagroup.plonetabs/trunk/quintagroup/plonetabs/browser/interfaces.py
- Timestamp:
- Apr 20, 2012 10:04:56 AM (12 years ago)
- Location:
- quintagroup.plonetabs/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonetabs/trunk
- Property svn:mergeinfo
-
old new 1 1 /quintagroup.plonetabs/branches/plone4:3076-3243 2 /quintagroup.plonetabs/branches/tests:3394-3436
-
- Property svn:mergeinfo
-
quintagroup.plonetabs/trunk/quintagroup/plonetabs/browser/interfaces.py
r775 r3437 1 1 from zope.interface import Interface, Attribute 2 2 3 3 4 class IPloneTabsControlPanel(Interface): 4 5 """Configlet for managing portal_actions, quintagroup.plonetabs""" 5 6 6 7 prefix = Attribute('prefix', 'Prefix to apply on edit forms') 7 8 sufix = Attribute('sufix', 'Sufix to apply on edit forms') 8 9 9 10 def getPageTitle(category='portal_tabs'): 10 11 """Return Title for configlet page for given category""" 11 12 12 13 def hasActions(category="portal_tabs"): 13 14 """Whether there are actions in portal_actions with given category""" 14 15 15 16 def getPortalActions(category="portal_tabs"): 16 17 """Return portal actions with given category""" 17 18 18 19 def isGeneratedTabs(): 19 20 """Whether disable_folder_section field is turned off""" 20 21 21 22 def isNotFoldersGenerated(): 22 23 """Whether disable_nonfolderish_sections field is turned off""" 23 24 24 25 def getActionsList(category="portal_tabs"): 25 26 """Return html code for actions list with given category""" 26 27 27 28 def getAutoGenereatedSection(cat_name, errors): 28 29 """Return html code for all autogenerated section""" 29 30 30 31 def getGeneratedTabs(): 31 32 """Return html code for autogenerated tabs""" 32 33 33 34 def getRootTabs(): 34 35 """Return portal root elements""" 35 36 36 37 def getCategories(): 37 38 """Return list of categories contained in portal_actions tool""" 38 39 39 40 def portal_tabs(): 40 41 """See global-sections viewlet""" 41 42 42 43 def selected_portal_tab(): 43 44 """See global-sections viewlet""" 44 45 45 46 def test(condition, ifTrue, ifFalse): 46 47 """Instead of test function in skins page templates""" 47
Note: See TracChangeset
for help on using the changeset viewer.