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/ReportPlugin.java
* 
	 */
	public void setTemplatePreference( String preference )
	{
		getPreferenceStore( ).setValue( TEMPLATE_PREFERENCE, preference ); 
	}
	/**
	 * set default resource preference
	 * 
	 */
	public void setDefaultResourcePreference( )
	{
	
		String defaultDir = new String( UIUtil.getHomeDirectory( ) );
		defaultDir = defaultDir.replace( '\\', '/' ); 
		if ( !defaultDir.endsWith( "/" ) ) 
		{
			defaultDir = defaultDir + "/"; 
		}
		defaultDir = defaultDir + BIRT_RESOURCE;
		if ( !defaultDir.endsWith( "/" ) ) 
		{
			defaultDir = defaultDir + "/"; 
		}
		File targetFolder = new File( defaultDir );
		if ( !targetFolder.exists( ) )
		{
			targetFolder.mkdirs( );
		}
		getPreferenceStore( ).setDefault( RESOURCE_PREFERENCE, defaultDir );