Bug 200143 If do not allow user to modify the expression, the button fx should be disabled[0005]
Description: If do not allow user to modify the expression, the button fx should be disabled[0005] Build number: 2.2.1.v20070816-0630 Steps to reproduce: 1, New a table1 with one binding 2, New a table share table1's result set 3, Drag a data item into the table 4, after specify the column binding name 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 Error log:
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/BindingDialogHelper.java
{
			if ( cmbDataField.getText( ) != null
					&& cmbDataField.getText( ).trim( ).length( ) == 0 )
			{
				this.binding = null;
				return;
			}
			if ( !( this.binding.getName( ) != null && this.binding.getName( )
					.equals( txtName.getText( ).trim( ) ) ) )
				this.binding.setName( txtName.getText( ) );
			this.binding.setDisplayName( txtDisplayName.getText( ) );
			for ( int i = 0; i < DATA_TYPE_CHOICES.length; i++ )
			{
				if ( DATA_TYPE_CHOICES[i].getDisplayName( )
						.equals( cmbType.getText( ) ) )
				{
					this.binding.setDataType( DATA_TYPE_CHOICES[i].getName( ) );
					break;
				}
			}
			this.binding.setExpression( cmbDataField.getText( ) );
			this.binding.setAggregateFunction( getFunctionByDisplayName( cmbFunction.getText( ) ) );
			this.binding.setFilterExpression( txtFilter.getText( ) );
			if ( btnTable.getSelection( ) )
			{
				this.binding.setAggregateOn( null );
			}
			else
			{
				this.binding.setAggregateOn( cmbGroup.getText( ) );