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 dragObject = ( (Object[]) template )[0];
				if ( dragObject instanceof DimensionHandle
						|| dragObject instanceof MeasureHandle )
				{
					isCrossTabElement = true;
				}
			}
		}
		if ( isCrossTabElement )
		{
			Transposer transposer = new Transposer( );
			transposer.setEnabled( !isHorizontal( ) );
			Rectangle r = transposer.t( getAbsoluteClientBounds( (GraphicalEditPart) getHost( ) ) );
			Point p = transposer.t( getLocationFromRequest( request ) );
			boolean before = p.x <= r.x + ( r.width / 2 );
			Point p1 = new Point( before ? r.x : r.x + r.width, r.y - 2 );
			p1 = transposer.t( p1 );
			Point p2 = new Point( before ? r.x : r.x + r.width, r.y
					+ r.height
					+ 7 );
			p2 = transposer.t( p2 );
			setTargetFeedbackPoints( p1, p2 );
		}
		else
		{
			super.showLayoutTargetFeedback( request );
		}
	}
}