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

20050105: IDV - bundles

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: 20050105: IDV - bundles
  • Date: Fri, 07 Jan 2005 13:26:20 -0700


Sean,
One more thing. Are you trying to save off and reload the state that is just in one ViewManager (i.e., the 3d view) or in one window (since there can be more than one view managers in a window)?

Also, are you doing the bundle saving and loading under programmatic control? What I mean is are you letting the user say "Save state" and "Load state" or are you using this as part of a configuration ?

What you could do is look at IdvPersistenceManager.getBundleXml and addToBundle to
see how things are saved. You could then write out your own bundles.

Reading them in might be a bit trickier in that (I assume) you want to load in the displays into a
particular pre-existing window?

-Jeff