Bug 212984 Disable Dimension or Level drag into outline
Description: The levels are not auto-outspread when drag the dimension from Data explorer to Outline Build number: 2.3.0.v20071214 Steps to reproduce: 1, New a cube with multiple levels in one dimension 2, New a crosstab 3, Drag the dimension from cube to crosstab's column area in Outline Expected result: The levels are auto-outspread. Actual result: The levels are not auto-outspread. Error log:
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/editors/editpolicies/CrosstabCellFlowLayoutEditPolicy.java
}
		
				{	
		
		
		
					{
		
					}
				}
		
		
		
		Object parentObj = parent.getModel( );
		Object source = child.getModel( );
		Object afterObj = after == null ? null : after.getModel( );
		Object childParent = child.getModel( );
		if ( parentObj instanceof CrosstabCellAdapter
				&& childParent instanceof CrosstabCellAdapter )
		{
			CrosstabCellAdapter childAdapter = (CrosstabCellAdapter) childParent;
			CrosstabCellAdapter parentAdapter = (CrosstabCellAdapter) parentObj;
			if ( ICrosstabCellAdapterFactory.CELL_FIRST_LEVEL_HANDLE.equals( childAdapter.getPositionType( ) )
					&& ( ICrosstabCellAdapterFactory.CELL_FIRST_LEVEL_HANDLE.equals( parentAdapter.getPositionType( ) ) || ICrosstabCellAdapterFactory.CELL_LEVEL_HANDLE.equals( parentAdapter.getPositionType( ) ) ) )
			{
				if ( afterObj != parentAdapter.getFirstElement( ) )
				{
					afterObj = null;
				}
				if ( childAdapter.getCrosstabCellHandle( ).getCrosstab( ) == parentAdapter.getCrosstabCellHandle( )