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
List children = new ArrayList( );
			LevelHandle levelHandle = (LevelHandle) parent;
			try
			{
				CrosstabReportItemHandle xtabHandle = getCrosstabReportItemHandle( );
				for ( int i = 0; i < xtabHandle.getDimensionCount( ICrosstabConstants.ROW_AXIS_TYPE ); i++ )
				{
					DimensionViewHandle dimensionHandle = xtabHandle.getDimension( ICrosstabConstants.ROW_AXIS_TYPE,
							i );
					LevelViewHandle levelViewHandle = dimensionHandle.getLevel( levelHandle.getQualifiedName( ) );
					if ( levelViewHandle != null )
						if ( dimensionHandle.getLevelCount( ) > levelViewHandle.getIndex( ) + 1 )
							children.add( dimensionHandle.getLevel( levelViewHandle.getIndex( ) + 1 )
									.getCubeLevel( ) );
				}
				for ( int i = 0; i < xtabHandle.getDimensionCount( ICrosstabConstants.COLUMN_AXIS_TYPE ); i++ )
				{
					DimensionViewHandle dimensionHandle = xtabHandle.getDimension( ICrosstabConstants.COLUMN_AXIS_TYPE,
							i );
					LevelViewHandle levelViewHandle = dimensionHandle.getLevel( levelHandle.getQualifiedName( ) );
					if ( levelViewHandle != null )
						if ( dimensionHandle.getLevelCount( ) > levelViewHandle.getIndex( ) + 1 )
							children.add( dimensionHandle.getLevel( levelViewHandle.getIndex( ) + 1 )
									.getCubeLevel( ) );
				}
			}
			catch ( ExtendedElementException e )
			{
			}
			return children;