Bug 190207 Integrate Aggregation builder with charts
Charts should be able to use aggregates in their databinding definition. The UI is missing the "Add Aggregation..." button in the chart databinding dialog.
chart/org.eclipse.birt.chart.reportitem.ui/src/org/eclipse/birt/chart/reportitem/ui/ReportDataServiceProvider.java
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.PlatformUI;
import com.ibm.icu.text.Collator;
import com.ibm.icu.util.ULocale;
/**
 * Data service provider for chart builder.
 */
public class ReportDataServiceProvider implements IDataServiceProvider
{
	private ExtendedItemHandle itemHandle;
	/**
	 * This flag indicates whether the error is found when fetching data. This
	 * is to help reduce invalid query.
	 */
	private boolean isErrorFound = false;
	public ReportDataServiceProvider( ExtendedItemHandle itemHandle )
	{
		super( );
		this.itemHandle = itemHandle;
	}
	private ModuleHandle getReportDesignHandle( )
	{
		return itemHandle.getModuleHandle( );
	}
	public String[] getAllDataSets( )
	{
		List list = getReportDesignHandle( ).getVisibleDataSets( );
		String[] names = new String[list.size( )];