Bug 167389 Perspective should switch to ReportDesign when new a library.[0603]
Description: Perspective should switch to ReportDesign when new a library in BIRT Web Project. Build number:2.2.0.v20061211 Steps to reproduce: 1. New a BIRT Web Project. 2. Select the project and right click to new a library file. Expected result: Perspective switch to Report Design as new a report and template do. Actual result: Perspective stayed at J2EE. Error log:N/A
UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/internal/ui/ide/adapters/NewLibraryWizardAdapterFactory.java
* (non-Javadoc) Method declared on IDialogPage.
	 */
	public void createControl( Composite parent )
	{
		super.createControl( parent );
		UIUtil.bindHelp( getControl( ), IHelpContextIds.NEW_LIBRARY_WIZARD_ID );
	}
	public NewLibraryCreationPage( String pageName,
			IStructuredSelection selection )
	{
		super( pageName, selection );
	}
	public boolean performFinish( )
	{
		final IPath containerName = getContainerFullPath( );
		String fn = getFileName( );
		final String fileName;
		if ( !fn.endsWith( ".rptlibrary" ) ) 
		{
			fileName = fn + ".rptlibrary"; 
		}
		else
		{
			fileName = fn;
		}
		if ( Platform.getBundle( IResourceLocator.FRAGMENT_RESOURCE_HOST ) == null )
		{
			return true;
		}
		URL url = FileLocator.find( Platform.getBundle( IResourceLocator.FRAGMENT_RESOURCE_HOST ),