Carsten , thank you very much for the hint...I really had misunderstood... thank you for the links..I will study them and i will try to implement what i need....
THANK YOU!!!!!!!!!!:handshake: Hi, it looks like you misunderstood how menus in OpenOffice.org work. Menus are only containers for commands. There is no event listener concept for menus controlled by OpenOffice.org. These commands are dispatched and processed by a so called "Dispatch Provider". For more information, please look into the following chapter of the Developer's Guide: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Using_the_Dispatch_Framework So there are two different ways to be called when a certain command is going to be dispatched. First, you can implement your own DispatchProvider which is responsible for your commands. A second way is to implement a dispatch interceptor, which intercept certain commands. For more information, please look into the following chapter of the Developer's Guide: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Dispatch_Interception Regards, Carsten -- Carsten Driesner (cd at openoffice.org) - Project Lead OpenOffice.org Framework Framework wiki: http://wiki.services.openoffice.org/wiki/Framework OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Need-Help-with-Listeners-tp20660938p20675795.html Sent from the openoffice - dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
