Bug 211024 Only the first measure in expression builder's Current Data Cube
Description: [Regression]Only the first measure in expression builder's Current Data Cube Build number: 2.3.0.v20071127-1036 Steps to reproduce: 1, New a cube with more than two measures 2, New a crosstab and add a binding 3, Check the measures in expression builder's Current Data Cube Expected result: All the measures in cube should be in the expression builder Actual result: Only the first one listed
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/dialogs/CrosstabBindingExpressionProvider.java
CrosstabReportItemHandle xtabHandle = getCrosstabReportItemHandle( );
							if ( xtabHandle.getDimension( ( (TabularDimensionHandle) element ).getName( ) ) == null )
								return false;
							return true;
						}
						catch ( ExtendedElementException e )
						{
							return false;
						}
					}
					else if ( handle.getPropertyDefn( )
							.getName( )
							.equals( ICubeModel.MEASURE_GROUPS_PROP ) )
					{
						try
						{
							CrosstabReportItemHandle xtabHandle = getCrosstabReportItemHandle( );
							MeasureGroupHandle mgHandle = (MeasureGroupHandle) element;
							for ( int i = 0; i < xtabHandle.getMeasureCount( ); i++ )
							{
								if ( xtabHandle.getMeasure( i )
										.getCubeMeasure( )
										.getContainer( )
										.equals( mgHandle ) )
									return true;
							}
							return false;
						}
						catch ( ExtendedElementException e )
						{