Thanks alain
Your work is really making the system more tangled.
We are going in the right direction
- no preferences bad class anymore
- declarative menu world building
Excellent
On Feb 20, 2010, at 7:57 AM, Alain Plantec wrote:
> Torsten Bergmann a écrit :
>> Issue 2014: delete class TheWorldMenu
>>
>>
>> OK - but how to register a tool for the menu now? Many class
>> side initializers will call "TheWorldMenu register..." to
>> register for the menu. They wont load in 1.1 and have to be reworked.
>>
>> Bye
>> T.
>>
>>
> you just have to write a method like the following:
>
> RecentMessageSet class>>menuCommandOn: aBuilder
> <worldMenu>
> (aBuilder item: #'Recent Submissions')
> action: [Utilities browseRecentSubmissions];
> parent: #CodeRecoveringTools;
> help: 'Browse your last methods submissions';
> icon: self taskbarIcon
>
> See MenuRegistration comments for more informations about how to record
> your own menus.
>
> Cheers
> Alain
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project