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
}
		return super.getChildrenList( parent );
	}
	private CrosstabReportItemHandle getCrosstabReportItemHandle( )
			throws ExtendedElementException
	{
		return (CrosstabReportItemHandle) ( (ExtendedItemHandle) elementHandle ).getReportItem( );
	}
	public String getDisplayText( Object element )
	{
		if ( element instanceof LevelViewHandle )
			return ( (LevelViewHandle) element ).getCubeLevel( ).getName( );
		return super.getDisplayText( element );
	}
	public Image getImage( Object element )
	{
		if ( element instanceof LevelViewHandle )
			return UIHelper.getImage( BuilderConstancts.IMAGE_LEVEL );
		return super.getImage( element );
	}
	public boolean hasChildren( Object element )
	{
		if ( element instanceof LevelHandle )
		{
			return getChildrenList( element ).size( ) > 0;
		}
		return super.hasChildren( element );
	}
}