Bug 153517 The DND of embeddedimage from lib explorer to outline view doesn'w work when the report in outline has used the lib
If the report in outline view has used a library, then drag and drop an embeddedimage of the used library from lib explorer to outline view doesn't work. The DND drop nothing onto the embedded image of the target report. Steps to reproduce: 1.Create a library with an embeddediamge and export to resource folder; 2.Create a new report design; 3.Drag the embeddedimage of lib from lib explorer to outline view;
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DNDUtil.java
(IStructure) transferData ) ? CONTAIN_THIS : CONTAIN_NO;
			}
			else if ( transferData instanceof EmbeddedImageHandle )
			{
				if ( targetObj instanceof ReportDesignHandle
						&& ( (EmbeddedImageHandle) transferData ).getElementHandle( )
								.getRoot( ) instanceof LibraryHandle )
					return CONTAIN_THIS;
				else if ( targetObj instanceof EmbeddedImageNode )
					return CONTAIN_THIS;
				else 
					return CONTAIN_NO;
			}
			else
			{
				return CONTAIN_NO;
			}
		}
	}
	public static boolean handleValidateTargetCanContainStructure(
			Object targetObj, IStructure transferData )
	{
		if ( targetObj instanceof EmbeddedImageNode )
		{
			targetObj = ( (EmbeddedImageNode) targetObj ).getReportDesignHandle( );
		}
		if ( transferData instanceof EmbeddedImage
				&& targetObj instanceof ModuleHandle )
		{