Bug 122283 [Smoke][Regression][SPM-Linux WS]Item in library can't be used when include library from library explorer
Details: Item in library can't be used when include library from library explorer Step: 1.New a library and Insert a label. 2.Open a report design 3.Open the library exploer in report and use the library 4.Drop the library label from library explorer into layout Actual results: Expection pop up. If use the library from report outline, label can drop in layout succeed.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
public static boolean createGroup( DesignElementHandle parent )
	{
		Assert.isNotNull( parent );
		try
		{
			return addGroup( parent, -1 );
		}
		catch ( SemanticException e )
		{
			ExceptionHandler.handle( e );
			return false;
		}
	}
	/**
	 * Creates a new group in the position under the given parent
	 * 
	 * @param parent
	 *            The parent of the new group, it should be a table or a list
	 *            and should not be null.
	 * @param position
	 *            insert position
	 * @return true if the group created successfully, false if the creation is
	 *         cancelled or some error occurred.
	 */
	public static boolean createGroup( DesignElementHandle parent, int position )
	{
		Assert.isNotNull( parent );
		try
		{
			return addGroup( parent, position );