« Return to Thread: adding a method to a published interface

adding a method to a published interface

by frank.schoenheit :: Rate this Message:

Reply to Author | View in Thread

Hi,

would adding a method to an existing published interface be considered
too incompatible for a 3.2 release?

In particular, css.awt.XView has a method setZoom, but not a getZoom,
which I'd like to add. I could create a crutch called XView2, deriving
from XView, having only this one said method. However, it would lead to
a better API (IMO), if we would simply add the method to XView.

Now XView is "published", but did't we say that there's a certain type
of incompatible API changes which we should consider to allow for
non-major OOo releases?

In this particular case, I'd say this is such a case: The change makes
the interface more consistent, allows retrieving information which
otherwise cannot be retrieved (via UNO), and touches an interfaces which
is rarely used inside OOo's code base (and probably also rarely outside
of it).

Opinions?

Ciao
Frank

x-post to interface-discuss and dev@api, follow-up to dev@api

--
- Frank Schönheit, Software Engineer         frank.schoenheit@... -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: adding a method to a published interface