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
import org.eclipse.birt.report.model.api.ExtendedItemHandle;
import org.eclipse.birt.report.model.api.PropertyHandle;
import org.eclipse.birt.report.model.api.extension.ExtendedElementException;
import org.eclipse.birt.report.model.api.olap.LevelHandle;
import org.eclipse.birt.report.model.api.olap.MeasureGroupHandle;
import org.eclipse.birt.report.model.api.olap.MeasureHandle;
import org.eclipse.birt.report.model.api.olap.TabularDimensionHandle;
import org.eclipse.birt.report.model.elements.interfaces.ICubeModel;
import org.eclipse.swt.graphics.Image;
/**
 * 
 */
public class CrosstabBindingExpressionProvider extends
		BindingExpressionProvider
{
	public CrosstabBindingExpressionProvider( DesignElementHandle handle )
	{
		super( handle );
		addFilter( new ExpressionFilter( ) {
			public boolean select( Object parentElement, Object element )
			{
				if ( parentElement instanceof PropertyHandle )
				{
					PropertyHandle handle = (PropertyHandle) parentElement;
					if ( handle.getPropertyDefn( )
							.getName( )
							.equals( ICubeModel.DIMENSIONS_PROP ) )
					{
						try
						{