Bug 179687 Every cube's dimensions can be used by one x-tab[1102]
Description: Do not allowed other cube's dimension using in the x-tab which is not using that cube[1102] Build number: 2.2.0.v20070328-0630 Steps to reproduce: 1, New two cubes, cube1 and cube2 2, Create a x-tab using cube1 3, Drag the dimension of cube2 to x-tab Expected result: The step3's operation should be forbidden Actual result: All the dimensions can be dragged into the x-tab Error log:
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/editors/model/CrosstabHandleAdapter.java
adapter.setColumnNumber( columnNumber
					- adapter.getColumnNumber( )
					+ 1 );
		}
	}
	
	private int addMesureHeader( List list, int baseColumn, int area, List measures )
	{
		if (isVertical( ) && area == ICrosstabConstants.COLUMN_AXIS_TYPE)
		{
			return 0;
		}
		else if (!isVertical( ) && area == ICrosstabConstants.ROW_AXIS_TYPE)
		{
			return 0;
		}
		int measureCount = measures.size( );
		for ( int k = 0; k < measureCount; k++ )
		{
			MeasureViewHandle preMmeasureHandle = (MeasureViewHandle) measures.get( k );
			CrosstabCellHandle preMeasureCellHandle = preMmeasureHandle.getHeader( );
			CrosstabCellAdapter measureCellAdapt = factory.createCrosstabCellAdapter( ICrosstabCellAdapterFactory.CELL_MEASURE_HEADER,
					preMeasureCellHandle,
					1,
					-1,
					baseColumn + k + 1,
					-1,
					isVertical( ));
			list.add( measureCellAdapt );
		}