Bug 138556 New a report, system switch the XML page
New a report, system switch the XML page Steps: 1.Create a new report design file Actual Results: 1.System will switch the XML page Expected Results: 1.System will switch the layout page
UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/internal/ui/ide/adapters/NewLibraryWizardAdapterFactory.java
INewLibraryCreationPage
{
	private static final String OPENING_FILE_FOR_EDITING = Messages.getString( "NewLibraryWizard.text.OpenFileForEditing" ); 
	private static final String CREATING = Messages.getString( "NewLibraryWizard.text.Creating" ); 
	
	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;
		}
		InputStream streamFromPage = null;
		URL url = Platform.find( Platform.getBundle( ReportPlugin.REPORT_UI ),
				new Path( "/templates/blank_library.rptlibrary" ) );
		if ( url != null )