diff --git a/src/main/java/org/mastodon/mamut/io/MamutViewStateXMLSerialization.java b/src/main/java/org/mastodon/mamut/io/MamutViewStateXMLSerialization.java index 363641d17..669c41652 100644 --- a/src/main/java/org/mastodon/mamut/io/MamutViewStateXMLSerialization.java +++ b/src/main/java/org/mastodon/mamut/io/MamutViewStateXMLSerialization.java @@ -72,7 +72,7 @@ * Utility class that can transform a GUI state * Map< String, Object > to XML and vice versa. */ -class MamutViewStateXMLSerialization +public class MamutViewStateXMLSerialization { private static final String WINDOW_TAG = "Window"; @@ -88,7 +88,7 @@ class MamutViewStateXMLSerialization */ private static final String CHOSEN_CONTEXT_PROVIDER_KEY = "ContextProvider"; - static Element toXml( final Map< String, Object > guiState ) + public static Element toXml( final Map< String, Object > guiState ) { final Element element = new Element( WINDOW_TAG ); toXml( guiState, element ); @@ -191,7 +191,7 @@ else if ( value instanceof List ) * @param windowManager * the application {@link WindowManager}. */ - static void fromXml( final Element windowsEl, final WindowManager windowManager ) + public static void fromXml( final Element windowsEl, final WindowManager windowManager ) { final MamutViews viewFactories = windowManager.getViewFactories(); final Collection< Class< ? extends MamutViewI > > classes = viewFactories.getKeys();