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
import org.eclipse.birt.report.model.api.SlotHandle;
import org.eclipse.birt.report.model.api.StructureFactory;
import org.eclipse.birt.report.model.api.StructureHandle;
import org.eclipse.birt.report.model.api.StyleHandle;
import org.eclipse.birt.report.model.api.TableHandle;
import org.eclipse.birt.report.model.api.TemplateElementHandle;
import org.eclipse.birt.report.model.api.ThemeHandle;
import org.eclipse.birt.report.model.api.activity.SemanticException;
import org.eclipse.birt.report.model.api.command.LibraryException;
import org.eclipse.birt.report.model.api.core.IDesignElement;
import org.eclipse.birt.report.model.api.core.IStructure;
import org.eclipse.birt.report.model.api.elements.ReportDesignConstants;
import org.eclipse.birt.report.model.api.elements.structures.EmbeddedImage;
import org.eclipse.birt.report.model.api.elements.structures.ResultSetColumn;
import org.eclipse.gef.commands.Command;
import org.eclipse.gef.commands.CompoundCommand;
import org.eclipse.jface.viewers.StructuredSelection;
/**
 * Useful utility in Drag and Drop or Copy and Paste.
 */
public class DNDUtil
{
	public static final String TYPE_CUT = "CUT"; 
	public static final String TYPE_COPY = "COPY"; 
	
	public static final int CONTAIN_NO = 0;
	
	public static final int CONTAIN_THIS = 1;
	
	public static final int CONTAIN_PARENT = 2;