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
return (AbstractMultiPageLayoutEditor) editor;
							}
						}
					}
				}
			}
		}
		return null;
	}
	/**
	 * Returns the current active editor part in current active page or current
	 * active workbench.
	 * 
	 * @param activePageOnly
	 *            If this is true, only search the current active page, or will
	 *            search all pages in current workbench, returns the first
	 *            active editor part or null if not found.
	 * @return the current active editor part, or null if no editor part is
	 *         active.
	 */
	public static IEditorPart getActiveEditor( boolean activePageOnly )
	{
		IWorkbenchWindow window = PlatformUI.getWorkbench( )
				.getActiveWorkbenchWindow( );
		if ( window != null )
		{
			if ( activePageOnly )
			{
				IWorkbenchPage pg = window.getActivePage( );
				if ( pg != null )