Re: RE : [xml-dev] impossible dataloader switching when xml has been parsed
Petr Kuzel <[email protected]> Tue, 04 Nov 2003 17:13:03 +0100
| Newsgroups | gmane.comp.java.netbeans.modules.xml.devel |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
Nicolas Laumonier wrote: > Weird stuff , but it worked when I tried to reproduce bug to show you > the Exception I was getting. > > Sorry , but when speaking about references holding > original visualization, do you mean references to the fileObject, > DataObject, ... ? Explorer probably keeps Node that keeps DataObject that keeps FileObject (irrelevant). Until someone keeps reference to the DataObject it's returned for given file (need to be assured by printing out DataObject.find() result after the change). Try to look at openide.loaders.DataNode there could be a key (because it works for DataNode descendants and XML tree node is not DataNode descendant). Cc. -- <address> <a href="mailto:[email protected]">Petr Kuzel</a> at Sun Microsystems : <a href="http://www.netbeans.org/">NetBeans Java IDE</a></address>