[Zope-CMF] Icons for actions

Tres Seaver tseaver@zope.com
01 Apr 2003 10:02:05 -0500


On Mon, 2003-03-31 at 10:27, Vincenzo Di Somma wrote:

> what do you think if we add images to actions ?
> To implement it we need to handle just another attribute I think, but it 
> will help a lot to create more interesting and usable UI.

I think your idea is sound, but I don't want to do it at the level of
the "action provider";  rather, I want to define icons for the
"abstract" actions.  For instance:

  - All actions with category == "object" and action ID == "edit" should
    all get the icon, "quill_pen.png".

We have a "portal_actionicons" tool which maintains this mapping.  I
imagine we could factor it out for inclusion into CMF 1.5 or so.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com