Bug 148365 dataset script methods management
Create a report with several datasets (scripted ones, in my case). Select the first one, then choose the script tab ; write some script Save the report Select another one, then choose the script tab (same method ; write some script Save the report Select the first one again, then change the script DONT save Select the over one : the changes made to the first one appears ! => you may save the repor and search for a while before understanding the pb...
UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/internal/ui/editors/script/JSEditor.java
}
		} );
		
		Composite jsEditorContainer = new Composite( mainPane, SWT.NONE );
		gdata = new GridData( GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL );
		jsEditorContainer.setLayoutData( gdata );
		jsEditorContainer.setLayout( new FillLayout( ) );
		return jsEditorContainer;
	}
	public void selectionChanged( SelectionChangedEvent event )
	{
	}
	/*
	 * SelectionChanged. - Selection listener implementation for changes in
	 * other views Selection of elements in other views, triggers this event. -
	 * The code editor view is updated to show the methods corresponding to the
	 * selected element.
	 */
	public void handleSelectionChanged( SelectionChangedEvent event )
	{
		ISelection selection = event.getSelection( );
		handleSelectionChanged( selection );
	}
	public void handleSelectionChanged( ISelection selection )
	{
		if ( getSourceViewer( ) == null
				|| !getSourceViewer( ).getTextWidget( ).isVisible( ) )
		{
			return;
		}