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
public boolean select( Object parentElement, Object element )
			{
				if ( parentElement instanceof PropertyHandle )
				{
					PropertyHandle handle = (PropertyHandle) parentElement;
					if ( handle.getPropertyDefn( )
							.getName( )
							.equals( ICubeModel.DIMENSIONS_PROP ) )
					{
						try
						{
							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++ )