Bug 192101 Add measure to xtab should add measure label automatically[1102]
Description: Add measure to xtab should add measure label automatically even no content in column area. Build number:2.2.0.v20070612 Steps to reproduce: 1. New a cube. 2. Insert a xtab, drag group to row area and then drag measure to detail area. Expected result: Label for measure is inserted automatically. Actual result: Label for measure isn't inserted automatically. But if you drag a group to column area, the label will be inserted at this time. Error log:N/A
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/editors/model/CrosstabHandleAdapter.java
return DEFAULT_WIDTH;
			
		}
		else if ( DesignChoiceConstants.UNITS_PERCENTAGE.equals( handle.getUnits( ) ) )
		{
			return handle.getMeasure( )
					+ DesignChoiceConstants.UNITS_PERCENTAGE;
		}
		else
		{
			int px = (int) DEUtil.convertoToPixel( handle );
			if ( px <= 0 )
			{
				return null;
			}
			return String.valueOf( px );
		}
	}
	/**
	 * Comparator the cell adapter row by row , column by column ModelComparator
	 */
	private class ModelComparator implements Comparator
	{
		public int compare( Object o1, Object o2 )
		{
			CrosstabCellAdapter part1 = (CrosstabCellAdapter) o1;
			CrosstabCellAdapter part2 = (CrosstabCellAdapter) o2;
			if ( part1.getRowNumber( ) > part2.getRowNumber( ) )
			{