setString( id, Long.toString( value ) );
}
public void setConfig( SettingsConfig soapuiSettings )
{
StringToStringMap changed = new StringToStringMap();
for( SettingConfig config : soapuiSettings.getSettingList() )
{
if( !config.getStringValue().equals( getString( config.getId(), null ) ) )
changed.put( config.getId(), getString( config.getId(), null ) );
}
values.clear();
config.set( soapuiSettings );
List<SettingConfig> settingList = config.getSettingList();
for( SettingConfig setting : settingList )
{
values.put( setting.getId(), setting );
}
for( String key : changed.keySet() )
{
notifySettingChanged( key, getString( key, null ), changed.get( key ) );
}
notifySettingsReloaded();
}