Bug 167545 Copy a cascading parameter group and paste it to another parameter group causes an exception thrown
Steps to reproduce: 1.Copy a cascading parameter group using short cut key "Ctrl+x"/"Ctrl+c", or choosing context menu "Cut"/"Copy"; 2.Paste it to another parameter group using short cut key "Ctrl+v", or choosing context menu "Paste"; Expected result: The source one is pasted in the destination. Actual result: An exception thrown org.eclipse.birt.report.model.api.command.ContentException: The Cascading Parameter Group("Source") is not allowed in the slot (parameters) of Parameter Group("Destination").
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
import org.eclipse.birt.report.model.api.metadata.IElementPropertyDefn;
import org.eclipse.birt.report.model.api.metadata.IMetaDataDictionary;
import org.eclipse.birt.report.model.api.metadata.IMethodInfo;
import org.eclipse.birt.report.model.api.metadata.ISlotDefn;
import org.eclipse.birt.report.model.api.util.ColorUtil;
import org.eclipse.birt.report.model.api.util.DimensionUtil;
import org.eclipse.birt.report.model.api.util.StringUtil;
import org.eclipse.birt.report.model.api.util.URIUtil;
import org.eclipse.birt.report.model.metadata.ElementPropertyDefn;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.jface.util.Assert;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.FontData;
import org.eclipse.swt.graphics.RGB;
import com.ibm.icu.util.Calendar;
import com.ibm.icu.util.GregorianCalendar;
/**
 * This class integrated some methods that will be used in GUI. It provides the
 * information that GUI will use and is called widely. *
 */
public class DEUtil
{
	/**
	 * Property name for element labelContent.
	 */
	public static final String ELEMENT_LABELCONTENT_PROPERTY = "labelContent"; 
	private static HashMap propertiesMap = new HashMap( );
	private static ArrayList notSupportList = new ArrayList( );
	private static final DesignEngine designEngine = new DesignEngine( new DesignConfig( ) );
	private static final String XMLDATE_PATTERN_FULL = "yyyy-MM-dd'T'HH:mm:ss.SSS";