}
XElement xlocation = xdockable.addElement( "location" );
xlocation.addString( "root", location.getRoot() );
xlocation.addString( "mode", dockable.getLocationHistory().getLastMode().getModeIdentifier().toString() );
transformer.writeXML( location.getLocation(), xlocation );
}
}
// store more location information
ModeSettings<Location, ?> settings = perspective.getLocationManager().writeModes( control );