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
return IBuildInAggregation.TOTAL_MAX_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_MEDIAN.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_MEDIAN_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_MIN.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_MIN_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_MIRR.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_MIRR_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_MODE.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_MODE_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_MOVINGAVE.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_MOVINGAVE_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_NPV.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_NPV_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_RUNNINGCOUNT.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_RUNNINGCOUNT_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_RUNNINGNPV.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_RUNNINGNPV_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_RUNNINGSUM.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_RUNNINGSUM_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_STDDEV.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_STDDEV_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_SUM.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_SUM_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_VARIANCE.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_VARIANCE_FUNC;
		if( DesignChoiceConstants.MEASURE_FUNCTION_WEIGHTEDAVG.equals( modelAggrType ) )
			return IBuildInAggregation.TOTAL_WEIGHTEDAVE_FUNC;
		return null;
	}
	private static class JSResultIteratorObject extends ScriptableObject