Bug 143126 [Regression]Insert chart into table group header, preview, incorrectly.
Insert chart into table group header, preview, incorrectly. Steps: 1.Insert a table 2.Create a group for the table 3.Insert chart into group header, inherit table's data set 4.preivew Actual Results: 1.Chart datas are incorrectly Expected Results: 1.Chart can be previewed correctly.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/ElementBuilderFactory.java
if ( handle instanceof TextItemHandle )
		{
			return new TextEditor( UIUtil.getDefaultShell( ),
					TextEditor.DLG_TITLE_NEW,
					(TextItemHandle) handle );
		}
		if ( handle instanceof TextDataHandle )
		{
			ExpressionBuilder dialog = new ExpressionBuilder( UIUtil.getDefaultShell( ),
					( (TextDataHandle) handle ).getValueExpr( ) );
			dialog.setExpressionProvier( new ExpressionProvider( handle ) );
			return ( dialog );
		}
		if ( handle instanceof DataItemHandle )
		{
			ColumnBindingDialog dialog = new ColumnBindingDialog( true );
			dialog.setInput( (ReportItemHandle) handle );
			return ( dialog );
		}
		if ( handle instanceof ImageHandle )
		{
			ImageBuilder dialog = new ImageBuilder( UIUtil.getDefaultShell( ),
					ImageBuilder.DLG_TITLE_NEW );
			dialog.setInput( handle );
			return dialog;
		}
		return null;
	}
}