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/action/AddLevelHandleAction.java
throws SemanticException
	{
		boolean isLevelRemoved = false;
		for ( int i = nullLevelHandle.size( ) - 1; i >= 0; i-- )
		{
			int index = ( (Integer) nullLevelHandle.get( i ) ).intValue( );
			viewHandle.removeLevel( index );
			isLevelRemoved = true;
		}
		for ( int i = 0; i < ori.size( ); i++ )
		{
			LevelHandle tempHandle = (LevelHandle) ori.get( i );
			if ( !newList.contains( tempHandle ) )
			{
				viewHandle.removeLevel( tempHandle.getQualifiedName( ) );
				isLevelRemoved = true;
			}
		}
		Collections.sort( newList, new LevelComparator( ) );
		for ( int i = 0; i < newList.size( ); i++ )
		{
			LevelHandle tempHandle = (LevelHandle) newList.get( i );
			if ( viewHandle.getLevel( tempHandle.getQualifiedName( ) ) == null )
			{
				insertLevelHandle( tempHandle, i );
			}
		}
		return isLevelRemoved;
	}
	private static class LevelComparator implements Comparator