Bug 134988 [regression]Available items in Query didn't change when change data source in Edit Data Set Dialog.
Description: Available items in Query didn't change when change data source in Edit Data Set Dialog. Steps to reproduce: 1. New two different data sources. 2. New a dataset, change data source, view Available Items in Query pane. Expected result: Available Items in Query pane changed according to new Data source. Actual result: Available Items in Query pane kept unchanged.
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
String identifierQuoteString = "";
		String dndString = (String) obj;
		try
		{
			identifierQuoteString = metaDataProvider.getMetaData( )
					.getIdentifierQuoteString( );
		}
		catch ( SQLException e )
		{
			identifierQuoteString = " ";
		}
		if ( !identifierQuoteString.equals( " " ) )
		{
			if ( dndString.indexOf( "." ) == -1 )
				return identifierQuoteString + dndString + identifierQuoteString;
			String[] str = dndString.split( "[.]" );
			dndString = "";
			for ( int i = 0; i < str.length; i++ )
			{
				dndString += identifierQuoteString
						+ str[i] + identifierQuoteString + ".";
			}
			return dndString.substring( 0, dndString.lastIndexOf( "." ) );
		}
		return dndString;
	}
	
	/**
	 * Adds drop support to viewer.Must set viewer before execution.
	 *