SaveAs
Casqueiro Gilles <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <46731A37FFC5D047B3FAAD3558D349B7587E7F56@BMI-2K8-MS03.emea.bracco.priv> |
Hi everybody, I would like to implement the Save As feature using the SaveAsCapable interface. So I write implements SaveAsCapable on my MultiDataObject and then I have to fill the overridden saveAs method. The point is that once the saveAs method is called, I would like to replace the DataNode that was generated via the createNodeDelegate or modify the its “All files” field. I also would like the FileObject that belongs to the DataObject to point to the new file location but this seams complicated. I will handle the actual saving myself, I use my own JAXB library for that. My goal of course is to keep the same TopComponent, DataObject and all the associated objects (Lookup, Bean, reference to a satellite view, etc). How should I proceed? Gilles ----------------------------------------------------------------------- Le informazioni contenute in questo messaggio di posta elettronica e relativi allegati sono riservate e confidenziali e ne è vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a darcene gentile comunicazione. The information contained in this e-mail and any attachments is confidential and may also be privileged. If you are not the named recipient please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. -----------------------------------------------------------------------