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.