Bug 135252 [Regression]Focus will lost when switching to script view
Steps to reproduce: 1.Select a data set 2.Click "Script" tab Expected result: Script view for the data set shows up Actual result: The focus on data set lost
UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/ui/editors/pages/ReportScriptFormPage.java
public void dispose( )
	{
		super.dispose( );
		jsEditor = null;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.part.WorkbenchPart#getAdapter(java.lang.Class)
	 */
	public Object getAdapter( Class adapter )
	{
		if ( adapter == ActionRegistry.class )
		{
			return jsEditor.getActionRegistry( );
		}
		if ( adapter == PalettePage.class )
		{
			return jsEditor.getAdapter( PalettePage.class );
		}
		if ( adapter == IContentOutlinePage.class )
		{
			
			
			
			
			
			DesignerOutlinePage outlinePage = new DesignerOutlinePage( getModel( ) );
			return outlinePage;
		}