Bug 130091 [regression]Save button failed after edit script in data item.
Description: Save button failed after edit script in data item. Steps to reproduce: 1. New a report 2. Insert a data item and input "data". 3. Select data item and transfer to script pane, input some words. 4. Transfer back to Layout and save the report. Expected result: Save action works. Actual result: Save action failed.
UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/ui/editors/ReportEditorProxy.java
public void init( IEditorSite site, IEditorInput input )
			throws PartInitException
	{
		if ( instance != null )
		{
			getSite( ).getWorkbenchWindow( )
					.getPartService( )
					.removePartListener( instance );
			instance.dispose( );
		}
		if ( input instanceof IFileEditorInput )
		{
			instance = new IDEMultiPageReportEditor( );
			instance.addPropertyListener( this );
		}
		else
		{
			instance = new MultiPageReportEditor( );
			instance.addPropertyListener( this );
		}
		instance.init( site, input );
		instance.addPropertyListener( this );
		getSite( ).getWorkbenchWindow( )
				.getPartService( )
				.addPartListener( this );
	}
	public void createPartControl( Composite parent )
	{
		instance.createPartControl( parent );
	}