Bug 122117 [RCP]Library name keeps the same when creating a new one.
Description: [RCP]Library name keeps the same when creating a new one. Steps to reproduce: 1. Create a new library file. 2. Its default name is always "new_library.rptlibrary".
UI/org.eclipse.birt.report.designer.ui.lib/src/org/eclipse/birt/report/designer/ui/wizards/NewLibraryWizard.java
}
		IContainer ct = getDefaultContainer( selection );
		if ( ct == null )
		{
			IEditorPart editor = UIUtil.getActiveEditor( true );
			if ( editor != null )
			{
				ct = getDefaultContainer( editor.getEditorInput( ) );
			}
		}
		if ( ct != null )
		{
			return ct.getFullPath( );
		}
		return Platform.getLocation( );
	}
	private IContainer getDefaultContainer( Object selection )
	{
		IContainer ct = null;
		if ( selection instanceof IAdaptable )
		{
			IResource resource = (IResource) ( (IAdaptable) selection ).getAdapter( IResource.class );
			if ( resource instanceof IContainer && resource.isAccessible( ) )
			{
				ct = (IContainer) resource;
			}
			else if ( resource != null
					&& resource.getParent( ) != null
					&& resource.getParent( ).isAccessible( ) )
			{