On Mar 31, 2010, at 8:28 AM, Hernán Morales Durand wrote:

> Hi list,
>  I'm using PharoCore 1.1 #11301. Now I want to adapt some tools to
> use the new menu registration mechanism. When I evaluate:
> 
> menuCommandOn: aBuilder
>       <worldMenu>
>       (aBuilder item: #'Dependency Browser')
>               parent: #Tools;
>               action:[self open];
>               icon:  UITheme current windowMenuForm.
> 
> the world menu is modified including only the Dependency Browser item
> and all remaining items were removed. Did I miss something?
> 

You need to execute

        World resetWorldMenu

This gathers all the methods with the worldMenu tag and executes them.

        Marcus



--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to