Bug 122289 [Smoke][Regression][SPM-Linux WS]Item can't be dropped to layout from library
Details: Item can't be dropped to layout from library Setp: 1.New a library and insert a label 2.New a report design and use library 3.Drop label from library explorer to layout Actual results: Nothing is dropped into layout. Not only use library in outline, but also in library explorer is no effect. But when I drop the label without use library, it will use library and label can drop in it.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
{
				GroupDialog dialog = new GroupDialog( getDefaultShell( ),
						GroupDialog.GROUP_DLG_TITLE_NEW );
				dialog.setDataSetList( DEUtil.getDataSetList( parent ) );
				dialog.setInput( groupHandle );
				if ( dialog.open( ) == Window.CANCEL )
				{
					return false;
				}
			}
			return true;
		}
		return false;
	}
	/**
	 * Gets the first selected edit part in layout editor. Whenever the user has
	 * deselected all edit parts, the contents edit part should be returned.
	 * 
	 * @return the first selected EditPart or root edit part
	 */
	public static EditPart getCurrentEditPart( )
	{
		EditPartViewer viewer = getLayoutEditPartViewer( );
		if ( viewer == null )
			return null;
		IStructuredSelection targets = (IStructuredSelection) viewer.getSelection( );
		if ( targets.isEmpty( ) )
			return null;
		return (EditPart) targets.getFirstElement( );
	}