Bug 198504 The same name aggregation should be hint in dialog[0001]
Description: The same name aggregation should be hint in dialog[0001] Step: 1.New a datasource, dataset, table and binding the dataset. 2.New a aggregation column binding on table named aggr1. 3.Drop a aggregation item into table and set the named as aggr1. 4.Click OK Actual result: Pop up an error message said that the name is exist. Expected result: It can hint in dialog when input the same name, but pop up an error dialog
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/dialogs/CrosstabBindingDialogHelper.java
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;
/**
 * 
 */
public class CrosstabBindingDialogHelper extends AbstractBindingDialogHelper
{
	protected static final String NAME = Messages.getString( "BindingDialogHelper.text.Name" ); 
	protected static final String DATA_TYPE = Messages.getString( "BindingDialogHelper.text.DataType" ); 
	protected static final String FUNCTION = Messages.getString( "BindingDialogHelper.text.Function" ); 
	protected static final String DATA_FIELD = Messages.getString( "BindingDialogHelper.text.DataField" ); 
	protected static final String FILTER_CONDITION = Messages.getString( "BindingDialogHelper.text.Filter" ); 
	protected static final String AGGREGATE_ON = Messages.getString( "BindingDialogHelper.text.AggOn" ); 
	protected static final String EXPRESSION = Messages.getString( "BindingDialogHelper.text.Expression" ); 
	protected static final String ALL = Messages.getString( "CrosstabBindingDialogHelper.AggOn.All" ); 
	protected static final String DISPLAY_NAME = Messages.getString( "BindingDialogHelper.text.displayName" ); 
	protected static final String DEFAULT_ITEM_NAME = Messages.getString( "BindingDialogHelper.bindingName.dataitem" ); 
	protected static final String DEFAULT_AGGREGATION_NAME = Messages.getString( "BindingDialogHelper.bindingName.aggregation" ); 
	protected static final IChoiceSet DATA_TYPE_CHOICE_SET = DEUtil.getMetaDataDictionary( )
			.getStructure( ComputedColumn.COMPUTED_COLUMN_STRUCT )
			.getMember( ComputedColumn.DATA_TYPE_MEMBER )
			.getAllowedChoices( );