To access this data, the MamutViews exposes their content (trackscheme or bdv + coloringModel).
Deserialization is made by unmarshalling the XML into a Map<String, Object> that is passed to the constructors of MamutViewBdv and MamutViewTrackScheme, setting the state adequately, and when possible before the JFrame is made visible.
The state of each opened view is serialized with the Mastodon project. The state includes window position, transform, current coloring, ...
Serialization is made in a XML file in the project file:
To access this data, the
MamutViews
exposes their content (trackscheme or bdv + coloringModel).Deserialization is made by unmarshalling the XML into a
Map<String, Object>
that is passed to the constructors ofMamutViewBdv
andMamutViewTrackScheme
, setting the state adequately, and when possible before theJFrame
is made visible.