Re: [api-dev] Java: Getting Access to a menu in menubar

2006-02-27 Thread Carsten Driesner
Tobias Krais wrote: Hi Carsten, your ideas made me think... Applying all your ideas the code looks like this. I think it will be useful: Hi Tobias, I have two more comments to your code. -%- com.sun.star.frame.XDesktop xDesktop = (com.sun.star.frame.XDesktop)

[api-dev] Renaming menu entries: changes don't apply

2006-02-27 Thread Tobias Krais
Hi together, again a question from me... I want to rename a menu entry, e.g. the entry Save as... to Secure Copy. Please see the code below (esp. the comment). -%- /** * This method renames menu items.The given Vector contains a * XIndexContainer at first position (the menu containing