Bug 200483 The fx button of aggregation builder should be also disable if it share bindings from other aggregation[0005]
Description: The fx button of aggregation builder should be also disable if it share bindings from other aggregation[0005] Build number: 2.2.1.v20070820-0630 Steps to reproduce: 1, New a table1 based on dataset and has a aggregation binding 2, New a table share table1's result set 3, Drag a aggregation to table2's footer row area 4, Try to modify the expression Expected result: The expression button should be disable. Actual result: The expression can be edit but can not save, so the button should be disable
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/BindingDialogHelper.java
new Label( composite, SWT.NONE ).setText( FUNCTION );
		cmbFunction = new Combo( composite, SWT.BORDER | SWT.READ_ONLY );
		cmbFunction.setLayoutData( new GridData( GridData.FILL_HORIZONTAL
				| GridData.GRAB_HORIZONTAL ) );
		WidgetUtil.createGridPlaceholder( composite, 1, false );
		cmbFunction.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				handleFunctionSelectEvent( );
			}
		} );
		new Label( composite, SWT.NONE ).setText( DATA_FIELD );
		cmbDataField = new Combo( composite, SWT.BORDER );
		cmbDataField.setLayoutData( new GridData( GridData.FILL_HORIZONTAL
				| GridData.GRAB_HORIZONTAL ) );
		createExpressionButton( composite, cmbDataField );
		cmbDataField.addModifyListener( new ModifyListener( ) {
			public void modifyText( ModifyEvent e )
			{
				validate( );
			}
		} );
		cmbDataField.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				String expr = getColumnBindingExpressionByName( cmbDataField.getText( ) );
				if ( expr != null )
				{
					cmbDataField.setText( expr );
				}