Re: [dev] Dynamic menus: with Java (Problem)

2005-12-09 Thread Christoph Lutz
Hi Carsten, sorry for the late answer, I was very busy during the last weeks... 2005/11/17, Carsten Driesner [EMAIL PROTECTED]: Please look at the following example in Basic. It uses the function CreatePopupMenu to create a new popup menu. The line of interest uses the factory (the

Re: [dev] Dynamic menus: with Java (Problem)

2005-11-17 Thread Christoph Lutz
Hi Carsten, thank you for answering the question of Andrej who is a colleague of mine. I am continuing the work with Andrej's code. I looked over your example and I am not sure what you want to do. Can you please explain what do you want to achieve? Create a new top-level menu or do you want

Re: [dev] Dynamic menus: with Java (Problem)

2005-11-17 Thread Carsten Driesner
Christoph Lutz wrote: Hi Carsten, Is it the XSingleComponentFactory I have to use to create the sub containers? Just to write a quick test-example in basic: How can I create a instance using basic? settings.createInstance() didn't work and I don't know how to get the required XComponentContext

Re: [dev] Dynamic menus: with Java (Problem)

2005-11-14 Thread Carsten Driesner
Andrej Golovko wrote: Hi. I have a problem when trying to add custom menus to the OO 2.0 with Java. I've translated the Basic-based example from http://www.oooforum.org/forum/viewtopic.phtml?t=18491highlight= into Java. It works only to some extent. The place with the problem is marked with