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/NewReportWizard.java
.getRoot( );
		return workspaceRoot.getFolder( folderPath );
	}
	/**
	 * The worker method. It will find the container, create the file if missing
	 * or just replace its contents, and open the editor on the newly created
	 * file.
	 * 
	 * @param cheatSheetId
	 * 
	 * @param containerName
	 * @param fileName
	 * @param showCheatSheet
	 * @param monitor
	 */
	private void doFinish( IPath containerName, String fileName,
			InputStream stream, String cheatSheetId, boolean showCheatSheet,
			IProgressMonitor monitor ) throws CoreException
	{
		
		monitor.beginTask( CREATING + fileName, 2 );
		IResource resource = (IContainer) ResourcesPlugin.getWorkspace( )
				.getRoot( )
				.findMember( containerName );
		IContainer container = null;
		if ( resource == null
				|| !resource.exists( )
				|| !( resource instanceof IContainer ) )
		{