Bug 119331 Library - name space terminology and behavior
During BIRT 2.0 library feature review meeting the following change was decided. - Change the term namespace to 'prefix' - By default use the library name as the prefix ( namespace ); the dialog to input prefix should be prompted only if hte auto generated prefix is not unique.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
}
			}
		}
		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 )
				{
					return pg.getActiveEditor( );
				}
			}