Hi Stephan,

>>>I'd prefer to stick with UnknownPropertyException here, for the reasons 
>>>you already stated:  UnknownPropertyException is already used in 
>>>combination with attributes, namely to model optional attributes.
>>
>>(is it? I did not find any such interface.)
> The specification (DevGuide, 3.3.4) of this is out (and PropertySetMixin 
> depends on it), even thought there might not be any uses yet in the 
> OOo/URE UNO API.

Ah, didn't know.

> If we could find good, unambiguous names for the two methods of 
> XAttributeChangeBroadcaster (aka XPropertyChangeBroadcaster), I am all 
> for this solution (incl. the "carrying this further" below).

Well, this again leads us to the "addFooListener( XBarListener )"
problem. I finally found where this causes problems in our implementations:
http://api.openoffice.org/docs/common/ref/com/sun/star/form/XDatabaseParameterBroadcaster2.html
was the interface I introduced because of those problems, and
http://ooo.ximian.com/lxr/source/util/eventattacher/source/eventattacher.cxx#611
is the implementation of the respective method.

So, if we want to use the XPropertyChangeListener, we must do either of
- name the methods addPropertyChangeListener
- declare the event attacher as too unimportant :)
- fix/extend the event attacher implementation

LXR shows (http://ooo.ximian.com/lxr/ident?i=attachSingleEventListener)
that attachSingleEventListener is used in the scripting framework and
the Basic runtime, so I suppose the second option is a no-go.

Ciao
Frank


-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Database                   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to