class SettingsListItem extends ListItemController
{
	private editable var m_Selector : inkWidgetRef;
	protected var m_settingsSelector : weak< SettingsSelectorController >;

	protected event OnInitialize()
	{
		m_settingsSelector = ( ( SettingsSelectorController )( inkWidgetRef.GetController( m_Selector ) ) );
	}

	protected event OnDataChanged( value : IScriptable )
	{
		var entry : ConfigVar;
		if( m_settingsSelector )
		{
			entry = ( ( ConfigVar )( value ) );
			m_settingsSelector.BindSettings( entry );
		}
	}

	protected event OnSelected( target : weak< ListItemController > ) {}
}

