Bug 134216 [regression] add a report item to library does not work properly
steps to reproduce: - create a library - add report items, say label - add 1st label - add 2nd laebl expected behavior: - everytime i drag a label to Outline->ReportItems, the label will be added actual behavior: - for the 1st label, it worked out fine - for the 2nd label, i had to drag a label twice to complete the operation note that this happened with other report items as well
UI/org.eclipse.birt.report.designer.ui.lib/src/org/eclipse/birt/report/designer/internal/lib/views/outline/dnd/LibraryDropListener.java
( (StructuredSelection) transferData ).toArray( ) );
		}
		else if ( transferData instanceof Object[] )
		{
			Object[] array = (Object[]) transferData;
			int len = array.length;
			for (int i=0; i<len; i++)
			{
				if (!validateSameParent(targetObj, array[i]))
				{
					return false;
				}
			}
			return true;
		}
		else if ( transferData instanceof DesignElementHandle )
		{
			return ((DesignElementHandle)targetObj).getContainer() == ((DesignElementHandle)transferData).getContainer();
		}
		
		return false;
	}
	
	private boolean isSupportPalletType( Object target, Object transfer )
	{
		boolean bool = false;
		if ( target instanceof ReportElementModel )
		{
			bool = ( (ReportElementModel) target ).getSlotId( ) == ModuleHandle.COMPONENT_SLOT;
		}