Bug 146771 [Regression]Preferences-Element Names-OdaDataSet, can not take effect
[Regression]Preferences-Element Names-OdaDataSet, can not take effect Steps: 1.Open Windows - reference - Element Names 2.Set the named of OdaDataSet as "odads" 3.New a report design and a odadatasource 4.New dataset apply this datasource Actual Results: 1.Data set default name is Data Set Expected Results: 1.The name of dataset that created is odads
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/preferences/ElementNamesPreferencePage.java
* (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.preference.IPreferencePage#performOk()
	 */
	public boolean performOk( )
	{
		StringBuffer defaultNamePreference = new StringBuffer( );
		StringBuffer customNamePreference = new StringBuffer( );
		StringBuffer descriptionPreference = new StringBuffer( );
		Vector contents = itemContentList.getContents( );
		for ( int i = 0; i < contents.size( ); i++ )
		{
			ItemContent content = (ItemContent) contents.get( i );
			defaultNamePreference.append( content.getDefaultName( ) );
			defaultNamePreference.append( ReportPlugin.PREFERENCE_DELIMITER );
			customNamePreference.append( content.getCustomName( ) );
			customNamePreference.append( ReportPlugin.PREFERENCE_DELIMITER );
			descriptionPreference.append( content.getDescription( ) );
			descriptionPreference.append( ReportPlugin.PREFERENCE_DELIMITER );
		}
		ReportPlugin.getDefault( )
				.setDefaultNamePreference( defaultNamePreference.toString( ) );
		ReportPlugin.getDefault( )
				.setCustomNamePreference( customNamePreference.toString( ) );
		ReportPlugin.getDefault( )
				.setDescriptionPreference( descriptionPreference.toString( ) );
		return super.performOk( );
	}
}