Re: Tree building observer/listener

Neil <[email protected]>
Newsgroups gmane.comp.mozilla.devel.rdf
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Neil Stansbury wrote:

> The two obvious methods are addObserver() and addListener() which 
> would you use to 'observe' a tree rebuild and why?
>
> I think I am finding it a bit confusing because the CV shows 
> nsIXULTreeBuilder inheriting from nsIXULTemplateBuilder, nsITreeView, 
> and nsIRDFObserver, and I'm not sure whether I should implement a tree 
> or template observer.

For what you want I guess you need a template observer 
(nsIXULBuilderListener), which you register using addListener.

-- 
Warning: May contain traces of nuts.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.