Bug 315745 Two message pop up when switch from XML source to layout.[01]
UI/org.eclipse.birt.report.designer.ui.lib/src/org/eclipse/birt/report/designer/ui/editors/LibraryLayoutEditorFormPage.java
GraphicalViewer view = getGraphicalViewer( );
		if ( view != null )
		{
			UIUtil.resetViewSelection( view, true );
		}
		return true;
	}
	/**
	 * Rebuild report design model.
	 * 
	 * @param oldModel
	 */
	protected void rebuildReportDesign( Object oldModel )
	{
		
		WrapperCommandStack stack = (WrapperCommandStack) getCommandStack( );
		if ( stack != null )
		{
			stack.removeCommandStackListener( getCommandStackListener( ) );
			stack.setActivityStack( getModel( ).getCommandStack( ) );
			stack.addCommandStackListener( getCommandStackListener( ) );
		}
		
		SessionHandleAdapter.getInstance( ).resetReportDesign( oldModel,
				getModel( ) );
		SessionHandleAdapter.getInstance( )
				.setReportDesignHandle( getModel( ) );
		UIUtil.processSessionResourceFolder( getEditorInput( ), 
				UIUtil.getProjectFromInput( getEditorInput( ) ), getModel() );