Bug 187201 DTE should give out 4 API for CrossTab sort and filter
DTE should give out 4 API for CrossTab sort and filter. 2 apis are used by giving out the available binding for CrossTab sort and filter. The third is api used by giving out the member value viewer is available. The fourth api is used by giving out the available value list about the memeber value.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/util/OlapExpressionUtil.java
IBinding binding = ( (IBinding) it.next( ) );
			if ( binding.getExpression( ) instanceof IScriptExpression )
			{
				
				
				if ( binding.getAggrFunction( ) != null  )
					cubeAggrDefns.add( new CubeAggrDefn( binding.getBindingName( ),
							getMeasure( ( (IScriptExpression) binding.getExpression( ) ).getText( ) ),
							convertToDimLevel(binding.getAggregatOns( )),
							binding.getAggrFunction( ) ) );
			}
		}
		ICubeAggrDefn[] result = new ICubeAggrDefn[cubeAggrDefns.size( )];
		for ( int i = 0; i < result.length; i++ )
		{
			result[i] = (ICubeAggrDefn) cubeAggrDefns.get( i );
		}
		return result;
	}
	private static List convertToDimLevel( List dimLevelExpressions ) throws DataException
	{
		List result = new ArrayList();
		for( int i = 0; i < dimLevelExpressions.size( ); i++ )
		{
			result.add( getTargetDimLevel( dimLevelExpressions.get( i ).toString( )) );
		}
		return result;
	}
	
	private static class CubeAggrDefn implements ICubeAggrDefn