To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=94057





------- Additional comments from [EMAIL PROTECTED] Thu Oct  9 05:10:28 +0000 
2008 -------
arielch > cd: I think I could work on this as part of
http://wiki.services.openoffice.org/wiki/User:Arielch/Menu_API_Enhancement 

The "only" (in the current mummified state of OOo API) way I see is:

* create a new interface

* this interface MUST NOT inherit from css.awt.XMenuListener (because if not, we
would be in the same issue: client code should implement the new "good" methods,
and the ones clashing with VB)

* create a new method to add this listener, because
css.awt.XMenu:addMenuListener can not be used, as this new interface can not
inherit from XMenuListener

* this new method cannot be added to css.awt.XMenu, because this interface is
PUBLISHED, so it has to be added to another interface, let's say
css.awt.XMenuExtended/2


So the only (not elegant and very awful) solution I see is a
css.awt.XMenuListener2, and a
css.awt.XMenuExtended2::addMenuListener2(css.awt.XMenuListener2 xListener2).

What do you think guys?


arielch > jsc: I think it's time to change some rules, as OOo is an open source
project, IMHO its API can not be so mummified as it is now; the way things are
now, adding new interfaces just creates usability issues for API clients (vid.
some comments on
http://wiki.services.openoffice.org/wiki/User:Arielch/Menu_API_Enhancement).


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
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]

Reply via email to