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.rcp/src/org/eclipse/birt/report/designer/ui/internal/rcp/wizards/NewReportTemplateWizard.java
catch ( InvocationTargetException e )
		{
			Throwable realException = e.getTargetException( );
			ExceptionHandler.handle( realException );
			return false;
		}
		return true;
	}
	/**
	 * 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 locationPath
	 * @param fileName
	 * @param stream
	 * @param monitor
	 */
	private void doFinish( IPath locationPath, String fileName,
			InputStream stream, IProgressMonitor monitor )
	{
		
		monitor.beginTask( CREATING + fileName, 2 );
		final File file = new File( locationPath.toString( ), fileName );
		try
		{
			File container = new File( locationPath.toString( ) );
			if ( !container.exists( ) )
			{
				container.mkdirs( );