}
@Override
public void writeSetting( ModeSetting<Location> setting ){
if( setting instanceof MaximizedModeSetting ){
MaximizedModeSetting modeSetting = (MaximizedModeSetting)setting;
for( int i = 0, n = getAreaCount(); i<n; i++ ){
CMaximizedModeAreaPerspective area = getArea( i );
Path mode = area.getUnmaximizeMode();
if( mode != null ){
modeSetting.getLastMaximizedMode().put( area.getUniqueId(), mode );
Location location = area.getUnmaximizeLocation();
if( location != null ){
modeSetting.getLastMaximizedLocation().put( area.getUniqueId(), location );
}
}
}
}
}