[Zope3-dev] icons for factories

Jean-Marc Orliaguet jmo at ita.chalmers.se
Fri Mar 25 13:27:44 EST 2005


Jean-Marc Orliaguet wrote:

> Roger Ineichen wrote:
>
>>
>>> Hi Roger!
>>>
>>> I mean factory icons, i.e. the icons of objects before they get
>>> created (the items in the "add" panel). The tree view contains icons
>>> of objects already created, so it's easy to get the icon view for them.
>>>   
>>
>>
>> Ok, this was wrong.
>>
>> In the zope.app.publisher.browser.menu.py
>> you can see the BrowserMenuItem which is used in
>>
>> zope.app.container.browser.adding.Adding's method "addingInfo"
>>
>> You get for each "Add" entry such a instance. There is the icon
>> as a attribute stored.
>>
>> There is a demo in zope.app.demo.menu where Stephan was adding
>> for our new skin.
>>
>> I hope that helps.
>>
>> Regards
>> Roger Ineichen
>>  
>>
>
>
> Thanks a lot! - this is what I was looking for ... /JM


It's working now!

see http://www.medic.chalmers.se/~jmo/Zope3/2005-03-25.html

PS: Zope3 is great: for the same functionality the code probably takes
1/10th of what would have been required to write in zope2.

/JM




More information about the Zope3-dev mailing list