Bug 191644 Dataset don't be cached in Chart Builder.
Build ID: I20070517-1700 Birt Steps To Reproduce: 1. New a Chart. 2. Set dataset from remote db. 3. Switch tabs of Chart Builder, it is OK. 4. Shut off network. 5. Switch tabs of Chart Builder again. 6. Some exception will throw, it shows the db accessing is fail. Expected Result: The dataset should be cached. Actual Result: It looks like the dataset don't be cached. More information:
chart/org.eclipse.birt.chart.reportitem.ui/src/org/eclipse/birt/chart/reportitem/ui/ReportDataServiceProvider.java
protected int invokeEditFilter( )
	{
		ExtendedItemFilterDialog page = new ExtendedItemFilterDialog( itemHandle,
				this );
		return page.open( );
	}
	protected int invokeEditParameter( )
	{
		ReportItemParametersDialog page = new ReportItemParametersDialog( itemHandle );
		return page.open( );
	}
	protected int invokeDataBinding( )
	{
		Shell shell = new Shell( Display.getDefault( ), SWT.DIALOG_TRIM
				| SWT.RESIZE | SWT.APPLICATION_MODAL );
		ChartUIUtil.bindHelp( shell,
				ChartHelpContextIds.DIALOG_DATA_SET_COLUMN_BINDING );
		ColumnBindingDialog page = new ChartColumnBindingDialog( shell );
		page.setInput( itemHandle );
		
		ExpressionProvider ep = new ExpressionProvider( itemHandle );
		ep.addFilter( new ExpressionFilter( ) {
			public boolean select( Object parentElement, Object element )
			{
				
				return !( parentElement.equals( ExpressionProvider.BIRT_OBJECTS )
						&& element instanceof IClassInfo && ( (IClassInfo) element ).getName( )
						.equals( "Total" ) ); 
			}
		} );