Bug 156632 [Acceptance]Cannot paste theme when select Themes in Outline.
Description: Cannot paste theme when select Themes in Outline. Steps to reproduce: 1. New a library. 2. Select defaulttheme in outline and cut it 3. Select Themes and right click to paste the theme back. Expected result: Paste in context menu can be used. Actual result: Paste is gray
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DNDUtil.java
}
		return true;
	}
	protected static void addCommandToCompound( Object transferData,
			Object targetObj, int position, String commandName,
			String commandType, CompoundCommand commands )
	{
		if ( transferData instanceof SlotHandle )
		{
			transferData = transferSlotHandle( commandType, transferData );
		}
		if ( transferData instanceof Object[] )
		{
			Object[] array = (Object[]) transferData;
			for ( int i = 0; i < array.length; i++ )
			{
				if ( array[i] instanceof EmbeddedImageHandle )
				{
					if ( ( (EmbeddedImageHandle) array[i] ).getElementHandle( )
							.getRoot( ) instanceof LibraryHandle )
					{
						try
						{
							array[i] = StructureFactory.newEmbeddedImageFrom( (EmbeddedImageHandle) array[i],
									SessionHandleAdapter.getInstance( )
											.getReportDesignHandle( ) );
						}
						catch ( LibraryException e )
						{
						}