Bug 189706 Enhance computed column aggregation function handling in UI.
Due to the issue discussed in 189705, current computed column aggregation builder in data set editor has bugs to extend: 1.When new a computed column, the aggregation argument field cannot be correctly set. 2.The argument field cannot be correct grayed out when user select a aggregation function without arguments 3.The available aggregation function list is incomprehensive 4.Some aggregation function cannot be set to model(say, weightedAve).
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/api/DataAdapterUtil.java
if ( modelDataType.equals( DesignChoiceConstants.COLUMN_DATA_TYPE_TIME ) )
			return DataType.SQL_TIME_TYPE;
		if ( modelDataType.equals( DesignChoiceConstants.COLUMN_DATA_TYPE_DATE ) )
			return DataType.SQL_DATE_TYPE;
		if ( modelDataType.equals( DesignChoiceConstants.COLUMN_DATA_TYPE_BOOLEAN ) )
			return DataType.BOOLEAN_TYPE;
		return DataType.UNKNOWN_TYPE;
	}
	
	/**
	 * 
	 * @param modelAggrType
	 * @return
	 * @throws AdapterException
	 */
	public static String adaptModelAggregationType( String modelAggrType ) throws AdapterException
	{
		if( DesignChoiceConstants.MEASURE_FUNCTION_AVERAGE.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_AVE_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_COUNT.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_COUNT_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_COUNTDISTINCT.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_COUNTDISTINCT_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_FIRST.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_FIRST_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_IRR.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_IRR_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_LAST.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_LAST_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_MAX.equals( modelAggrType ) )