Bug 198504 The same name aggregation should be hint in dialog[0001]
Description: The same name aggregation should be hint in dialog[0001] Step: 1.New a datasource, dataset, table and binding the dataset. 2.New a aggregation column binding on table named aggr1. 3.Drop a aggregation item into table and set the named as aggr1. 4.Click OK Actual result: Pop up an error message said that the name is exist. Expected result: It can hint in dialog when input the same name, but pop up an error dialog
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/BindingDialogHelper.java
IChoice[] choices = getFunctions( );
		if ( choices == null )
			return null;
		for ( int i = 0; i < choices.length; i++ )
		{
			if ( choices[i].getDisplayName( ).equals( displayName ) )
			{
				return choices[i].getName( );
			}
		}
		return null;
	}
	private String getFunctionDisplayName( String function )
	{
		IChoice[] choices = getFunctions( );
		if ( choices == null )
			return null;
		for ( int i = 0; i < choices.length; i++ )
		{
			if ( choices[i].getName( ).equals( function ) )
			{
				return choices[i].getDisplayName( );
			}
		}
		return null;
	}
	private IChoice[] getFunctions( )
	{
		return DEUtil.getMetaDataDictionary( )
				.getStructure( ComputedColumn.COMPUTED_COLUMN_STRUCT )