Bug 201726 [Regression]Missing the attribute binding in Current Data Cube of Expression builder[1102]
Description: [Regression]Missing the attribute binding in Current Data Cube of Expression builder[1102] Build number: 2.2.1.v20070830-1348 Steps to reproduce: 1, New a cube with some dimensions and some attribute 2, New a crosstab using the cube 3, Open the expression builder to find the binding of attribute Expected result: The attribute binding should be in the expression builder's Current Data Cube. Actual result: The attribute binding is missing
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/dialogs/CrosstabBindingExpressionProvider.java
{
								if ( xtabHandle.getMeasure( i )
										.getCubeMeasure( )
										.getContainer( )
										.equals( mgHandle ) )
									return true;
							}
							return false;
						}
						catch ( ExtendedElementException e )
						{
							return false;
						}
					}
				}
				if ( element instanceof LevelViewHandle )
				{
					return ( (LevelViewHandle) element ).getIndex( ) == 0;
				}
				if ( element instanceof MeasureHandle )
				{
					try
					{
						CrosstabReportItemHandle xtabHandle = getCrosstabReportItemHandle( );
						for ( int i = 0; i < xtabHandle.getMeasureCount( ); i++ )
						{
							if ( xtabHandle.getMeasure( i ).getCubeMeasure( ).equals( element ) )
								return true;
						}
						return false;