Bug 192355 [acceptance]Fail to drag xtab from Palette to Outline in Library.[01]
Description: Fail to drag xtab from Palette to Outline in Library. Build number:2.2.0.v20070613 Steps to reproduce: 1. New a library file. 2. Drag crosstab from Palette to Outline->Report Items. Expected result: Crosstab can be dragged to outline as other items do. Actual result: Step2 is forbidden in UI. Error log:n/a
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/CreateCrosstabHandler.java
IEvaluationContext context = (IEvaluationContext) event.getApplicationContext( );
		EditPart targetEditPart = (EditPart) context.getVariable( "targetEditPart" );
		if ( targetEditPart == null )
		{
			targetEditPart = UIUtil.getCurrentEditPart( );
		}
		Object parentModel = DNDUtil.unwrapToModel( targetEditPart.getModel( ) );
		CreateRequest request = (CreateRequest) context.getVariable( "request" );
		if ( request != null )
		{
			request.getExtendedData( ).put( DesignerConstants.KEY_NEWOBJECT,
					handle );
			try
			{
				targetEditPart.getCommand( request ).execute( );
				SessionHandleAdapter.getInstance( )
						.getReportDesignHandle( )
						.getCommandStack( )
						.commit( );
			}
			catch ( Exception e )
			{
				SessionHandleAdapter.getInstance( )
						.getReportDesignHandle( )
						.getCommandStack( )
						.rollback( );
			}
		}
		else
		{