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
{
			
			
			int type = getAreaType( (CrosstabCellAdapter) model );
			String position = ( (CrosstabCellAdapter) model ).getPositionType( );
			if ( ( newObject instanceof DimensionHandle || newObject instanceof LevelHandle )
					&& ( type == ICrosstabConstants.COLUMN_AXIS_TYPE || type == ICrosstabConstants.ROW_AXIS_TYPE ) )
			{
				Object afterObj = after == null ? null : after.getModel( );
				if ( newObject instanceof LevelHandle )
				{
					DimensionHandle dimensionHandle = CrosstabAdaptUtil.getDimensionHandle( (LevelHandle) newObject );
					AddDimensionViewHandleCommand command = new AddDimensionViewHandleCommand( (CrosstabCellAdapter) model,
							type,
							dimensionHandle,
							afterObj );
					command.setLevelHandle( (LevelHandle) newObject );
					return command;
				}
				return new AddDimensionViewHandleCommand( (CrosstabCellAdapter) model,
						type,
						(DimensionHandle) newObject,
						afterObj );
			}
			else if ( newObject instanceof MeasureHandle
					&& position.equals( ICrosstabCellAdapterFactory.CELL_MEASURE ) )
			{
				Object afterObj = null;
				if ( after != null )
				{