Bug 207825 Crosstab gives wrong default for Totals on Count
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/editors/action/AddSubTotalAction.java
{
		for ( int i = 0; i < list.size( ); i++ )
		{
			if ( info.isSameInfo( list.get( i ) ) )
			{
				AggregationDialog.SubTotalInfo tempInfo = (AggregationDialog.SubTotalInfo) list.get( i );
				tempInfo.setAggregationOn( true );
				tempInfo.setFunction( info.getFunction( ) );
				break;
			}
		}
	}
	private void replaceInfo( AggregationDialog.GrandTotalInfo info, List list )
	{
		for ( int i = 0; i < list.size( ); i++ )
		{
			if ( info.isSameInfo( list.get( i ) ) )
			{
				AggregationDialog.GrandTotalInfo tempInfo = (AggregationDialog.GrandTotalInfo) list.get( i );
				tempInfo.setAggregationOn( true );
				tempInfo.setFunction( info.getFunction( ) );
			}
		}
	}
	private DimensionViewHandle getDimensionViewHandle( )
	{
		return CrosstabAdaptUtil.getDimensionViewHandle( (ExtendedItemHandle) ( levelHandle.getModelHandle( ) ) );
	}
}