Ok 
But when I wrote  

    view interaction menuMorphBlock: [ :element | element mooseMenuMorph ].
    view item: 'browse code' action: [:element | UIManager default edit: element sourceCode].

The item 'browse code' doesn't appear in the menu (probably because the mooseMenu is set as menu and can not be changed).
I wonder if there is an easy way to have a menu with: (mooseMenu items + my own items)

2010/5/19 Veronica Isabel Uquillas Gomez <vuquilla@vub.ac.be>
Hi Cyrille,

it is using:

view interaction item: ......


On 19 May 2010, at 11:03, Cyrille Delaunay wrote:

> Hello,
>
> When I want to view the moose menu by right-clicking on a mondrian element, I have to add this to the script:
>
>                   view interaction menuMorphBlock: [ :element | element mooseMenuMorph ].
>
> But, when I also want to have my own specific action:
>
>                   view item: 'browse code' action: [:element | UIManager default edit: element sourceCode].
>
> this last one does not appear in the menu.
> Is there any way to do that (to have both the moose menu and my own actions in a same frame)?
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev