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/ui/ide/wizards/NewTemplateWizard.java
.getFormattedString(
								"SaveReportAsWizard.SettingPage.title",
								new Object[]{Messages
										.getString( "NewTemplateWizard.WizardPageTitle.Template" )} ) );
		addPage( settingPage );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.wizard.IWizard#canFinish()
	 */
	public boolean canFinish( )
	{
		return newReportFileWizardPage.isPageComplete( );
	}
	public boolean performFinish( )
	{
		final IPath containerName = newReportFileWizardPage
				.getContainerFullPath( );
		String fn = newReportFileWizardPage.getFileName( );
		final String fileName;
		if ( !fn.endsWith( getFileExtension( ) ) ) 
		{
			fileName = fn + getFileExtension( ); 
		}
		else
		{
			fileName = fn;
		}
		InputStream streamFromPage = null;