Bug 130495 Get rid of SessionHandleAdapter
Now, we use SessionHandleAdapter to keep current active report deisng. That's a bad practive for editor swith and rebuild will cuase lots of problmes. Need find way to replace it.
UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/ui/editors/pages/ReportScriptFormPage.java
DesignerOutlinePage outlinePage = new DesignerOutlinePage( getModel( ) );
			return outlinePage;
		}
		return jsEditor.getAdapter( adapter );
	}
	/**
	 * Get JS Script editor.
	 * @return
	 */
	public IEditorPart getScriptEditor( )
	{
		return jsEditor;
	}
	/* (non-Javadoc)
	 * @see org.eclipse.birt.report.designer.ui.editors.pages.ReportFormPage#canLeaveThePage()
	 */
	public boolean canLeaveThePage( )
	{
		jsEditor.saveModelIfNeeds( );
		return super.canLeaveThePage( );
	}
	
	
}