Bug 194161 Have not removed the measure binding column when hide the measure[1102]
Description: Have not removed the measure binding column when hide the measure[1102] Step: 1.New a datasource, dataset 2.New a data cube 3.Add a cross table, drop the group and measure into the cross table 4.Right click on measure in cross table and select Show/Hide Measure 5.Untick the measure and press OK Actual result: The measure binding column has not removed. When preview it will pop up an error. Exception result: Remove the binding column
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/editors/model/CrosstabAdaptUtil.java
CrosstabReportItemHandle reportItem = (CrosstabReportItemHandle) CrosstabUtil.getReportItem( handle.getCrosstabHandle( ) );
		int index = handle.getIndex( );
		int type = handle.getAxisType( );
		int count = reportItem.getDimensionCount( type );
		int retValue = 0;
		for ( int i = index; i < count; i++ )
		{
			retValue = retValue
					+ reportItem.getDimension( type, index ).getLevelCount( );
		}
		return retValue;
	}
	/**
	 * @param owner
	 * @param levelHandle
	 * @return
	 */
	public static ComputedColumn createComputedColumn( ReportItemHandle owner,
			LevelHandle levelHandle )
	{
		ComputedColumn bindingColumn = StructureFactory.newComputedColumn( owner,
				levelHandle.getName( ) );
		
		
		bindingColumn.setDataType( levelHandle.getDataType( ) );
		bindingColumn.setExpression( DEUtil.getExpression( levelHandle ) );
		return bindingColumn;
	}
	/**
	 * @param owner