Re: dot-oaf style questions



On 11/29/01 3:23 AM, "Bill Haneman" <bill haneman sun com> wrote:

>>>>         <oaf_attribute name="repo_ids" type="stringv">
>>>>                 <item value="IDL:GNOME/PanelAppletShell:1.0"/>
>>>>                 <item value="IDL:Bonobo/Control:1.0"/>
>>>>                 <item value="IDL:Bonobo/Unknown:1.0"/>
>>>>         </oaf_attribute>
>>> 
>>> Do you have to specify Bonobo/Unknown and Control in this case ? - I
>>> thought the other interfaces derived from it, and that one needn't
>>> explicitly list derived interfaces in oaf attributes.  Am I wrong?
>> 
>>         You don't *need* to - this information if only used when
>> querying.
>> 
>>         So in this example, where PanelAppletShell is an aggregate,
>> the Bonobo/Unknown part is of no use to *me* - but may be of use to
>> bonobo-browser if it wanted to query for all Bonobo_Unknowns
>> available.
>> 
>>         Its completely up to you what information you want to make
>> available.
> 
> Hmm, that's my concern.  I don't see why the query would not know about
> inheritance - unless of course it's too hard/expensive to implement ;-)

I should clarify this point. Bonobo-activation doesn't even know that
repo_ids is an attribute that holds interface names. That's convention. As
far as bonobo-activation is concerned, it's "just another stringv".

    -- Darin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]