Bug 211833 [Regression]Can not select Measures in Crosstab's Group Level filter
Description: [Regression]Can not select Measures in Crosstab's Group Level filter Build number: 2.3.0.v20071204-0800 Steps to reproduce: 1, New a crosstab 2, New a Group level filter on crosstab 3, Select Measure in Filter Condition Expected result: The measures of crosstab should be in the list Actual result: The Measures are empty
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/util/OlapQueryUtil.java
{
			for( int j = 0; j < getHierarchy( queryDefn, edgeType, i ).getLevels( ).size( );j++)
			{
				ILevelDefinition level = (ILevelDefinition)getHierarchy( queryDefn, edgeType, i ).getLevels( ).get( j );
				validDimLevels.add( new DimLevel( getDimension( queryDefn, edgeType, i ).getName( ), level.getName( )) );
			}
		}
	}
	/**
	 * 
	 * @param edgeType
	 * @param i
	 * @return
	 */
	private static IHierarchyDefinition getHierarchy( ICubeQueryDefinition queryDefn, int edgeType, int i )
	{
		return ((IHierarchyDefinition)(getDimension( queryDefn, edgeType, i )).getHierarchy( ).get( 0 ));
	}
	/**
	 * 
	 * @param edgeType
	 * @param i
	 * @return
	 */
	private static IDimensionDefinition getDimension( ICubeQueryDefinition queryDefn, int edgeType, int i )
	{
		return (IDimensionDefinition)queryDefn.getEdge( edgeType ).getDimensions( ).get( i );
	}
}