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
if ( dimensionHandle.getCubeDimension( ).equals( handle ) )
						children.add( dimensionHandle.getLevel( 0 ) );
				}
			}
			catch ( ExtendedElementException e )
			{
			}
			return children;
		}
		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 );
	}
}