Re: [api-dev] Menu control
Christian Junker wrote: Hi Matthias, I do ask myself, why those interfaces are deprecated. Why not removing them completely? a) from source code (I searched with ximian lxr and there was no single implementation I found about XMenu) b) from documentation (IDL Reference) Deprecated means: don't use that interface, it's doomed, but you have a grace period. After this period it will be removed. In case if the XMenu... interfaces I assume that there just wasn't nobody who did it. We are planning an API revision (checking for possible usage of new UNO features), maybe that's a good opportunity for removing some deprecated stuff. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] Menu control
Hi Matthias, I do ask myself, why those interfaces are deprecated. Why not removing them completely? a) from source code (I searched with ximian lxr and there was no single implementation I found about XMenu) b) from documentation (IDL Reference) -- Best Regards Christian Junker On Fri, 04 Mar 2005 09:07:52 +0100, Mathias Bauer [EMAIL PROTECTED] wrote: Christian Junker wrote: I remember some time ago, that it had been discussed that OOo 2.0 will provide functional interfaces that haven't been functional yet in any way (XMenu, XMenuListener) and probably add some more interfaces that make menus accessible via API. We don't use XMenu etc., those interfaces remain deprecated. The new API is much more abstract. I'm afraid the documentation is still not ready. Maybe we can provide some example code on the framework project Website. Now that the first beta candidate has been released, I would like to know if that is possible yet. I tried putting information together and working it out for 1.9.m79 but I did not succeed. I think that there is a lot of request in this area, since it would improve customization of OOo's GUI a lot and make it possible for developers around the world to create their own OOo looks (of course there are tight boundaries, but as of yet it is not even possible to disable certain menu entries in the main menu as far as I know) without having to hack portions of the huge source code and repackaging their own oo distributions. For complete customization of menu it is still recommended to use XML files. The new API for menus is a dynamic way to change the menu at runtime, f.e. to extend it for components added to the installation. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] Menu control
Christian Junker wrote: I remember some time ago, that it had been discussed that OOo 2.0 will provide functional interfaces that haven't been functional yet in any way (XMenu, XMenuListener) and probably add some more interfaces that make menus accessible via API. We don't use XMenu etc., those interfaces remain deprecated. The new API is much more abstract. I'm afraid the documentation is still not ready. Maybe we can provide some example code on the framework project Website. Now that the first beta candidate has been released, I would like to know if that is possible yet. I tried putting information together and working it out for 1.9.m79 but I did not succeed. I think that there is a lot of request in this area, since it would improve customization of OOo's GUI a lot and make it possible for developers around the world to create their own OOo looks (of course there are tight boundaries, but as of yet it is not even possible to disable certain menu entries in the main menu as far as I know) without having to hack portions of the huge source code and repackaging their own oo distributions. For complete customization of menu it is still recommended to use XML files. The new API for menus is a dynamic way to change the menu at runtime, f.e. to extend it for components added to the installation. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]