Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
CMFPlone.ActionIconsTool.ActionIconsTool Class Reference
Inheritance diagram for CMFPlone.ActionIconsTool.ActionIconsTool:
Inheritance graph
[legend]
Collaboration diagram for CMFPlone.ActionIconsTool.ActionIconsTool:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def renderActionIcon
def updateActionIcon
def removeActionIcon
def clearActionIcons
def manage_updateActionIcon
def manage_removeActionIcon

Static Public Attributes

 meta_type = ToolNames.ActionIconsTool
tuple security = ClassSecurityInfo()
string toolicon = 'skins/plone_images/confirm_icon.gif'

Static Private Attributes

tuple __implements__ = (PloneBaseTool.__implements__, BaseTool.__implements__, )

Detailed Description

Definition at line 14 of file ActionIconsTool.py.


Member Function Documentation

clear ActionIcons and cache entries 

Definition at line 62 of file ActionIconsTool.py.

00062 
00063     def clearActionIcons( self ):
00064         """ clear ActionIcons and cache entries """
00065         BaseTool.clearActionIcons(self)
00066         iconcache.clear()

Here is the call graph for this function:

def CMFPlone.ActionIconsTool.ActionIconsTool.manage_removeActionIcon (   self,
  category,
  action_id,
  REQUEST 
)
remove ActionIcons from ZMI and remove cache entry 

Definition at line 80 of file ActionIconsTool.py.

00080 
00081     def manage_removeActionIcon( self, category, action_id, REQUEST ):
00082         """ remove ActionIcons from ZMI and remove cache entry """
00083         BaseTool.manage_removeActionIcon(self, category, action_id, REQUEST)
00084         removeAICacheEntry(category, action_id)
00085 
00086 ActionIconsTool.__doc__ = BaseTool.__doc__
00087 
00088 InitializeClass(ActionIconsTool)

Here is the call graph for this function:

def CMFPlone.ActionIconsTool.ActionIconsTool.manage_updateActionIcon (   self,
  category,
  action_id,
  icon_expr,
  title,
  priority,
  REQUEST 
)
update ActionIcons from ZMI and remove cache entry 

Definition at line 74 of file ActionIconsTool.py.

00074 
00075                                ):
00076         """ update ActionIcons from ZMI and remove cache entry """
00077         BaseTool.manage_updateActionIcon( self, category, action_id, icon_expr,
00078                                           title, priority, REQUEST )
00079         removeAICacheEntry(category, action_id)

Here is the call graph for this function:

Here is the caller graph for this function:

def CMFPlone.ActionIconsTool.ActionIconsTool.removeActionIcon (   self,
  category,
  action_id 
)
remove ActionIcon and remove cache entry 

Definition at line 57 of file ActionIconsTool.py.

00057 
00058     def removeActionIcon( self, category, action_id ):
00059         """ remove ActionIcon and remove cache entry """
00060         BaseTool.removeActionIcon(self, category, action_id)
00061         removeAICacheEntry(category, action_id)

Here is the call graph for this function:

def CMFPlone.ActionIconsTool.ActionIconsTool.renderActionIcon (   self,
  category,
  action_id,
  default = None,
  context = None 
)
Returns the actual object for the icon.  If you
    pass in a path elements in default it will attempt
    to traverse to that path.  Otherwise it will return
    None

Definition at line 27 of file ActionIconsTool.py.

00027 
00028                           context=None ):
00029         """ Returns the actual object for the icon.  If you
00030             pass in a path elements in default it will attempt
00031             to traverse to that path.  Otherwise it will return
00032             None
00033         """
00034         icon = self.queryActionIcon( category,
00035                                      action_id,
00036                                      default=default,
00037                                      context=context )
00038         if icon is not None:
00039             portal=getToolByName(self, 'portal_url').getPortalObject()
00040             return portal.restrictedTraverse(icon)
00041 
00042         return default

Here is the call graph for this function:

def CMFPlone.ActionIconsTool.ActionIconsTool.updateActionIcon (   self,
  category,
  action_id,
  icon_expr,
  title = None,
  priority = 0 
)
update ActionIcons and remove cache entry 

Definition at line 51 of file ActionIconsTool.py.

00051 
00052                         ):
00053         """ update ActionIcons and remove cache entry """
00054         BaseTool.updateActionIcon(self, category, action_id, icon_expr,
00055                                   title, priority)
00056         removeAICacheEntry(category, action_id)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

tuple CMFPlone.ActionIconsTool.ActionIconsTool.__implements__ = (PloneBaseTool.__implements__, BaseTool.__implements__, ) [static, private]

Definition at line 20 of file ActionIconsTool.py.

Definition at line 16 of file ActionIconsTool.py.

tuple CMFPlone.ActionIconsTool.ActionIconsTool.security = ClassSecurityInfo() [static]

Definition at line 17 of file ActionIconsTool.py.

string CMFPlone.ActionIconsTool.ActionIconsTool.toolicon = 'skins/plone_images/confirm_icon.gif' [static]

Definition at line 18 of file ActionIconsTool.py.


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