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/OlapExpressionCompiler.java
IScriptExpression expr1 = ((IConditionalExpression)expr).getExpression( );
			dimName = getReferencedScriptObject( expr1, objectName );
			if ( dimName!= null )
				return dimName;
			IScriptExpression op1 = ((IConditionalExpression)expr).getOperand1( );
			dimName = getReferencedScriptObject( op1, objectName );
			if ( dimName!= null )
				return dimName;
			
			IScriptExpression op2 = ((IConditionalExpression)expr).getOperand2( );
			dimName = getReferencedScriptObject( op2, objectName );
			return dimName;
		}
		
		return null;
	}
	
	private static String getReferencedScriptObject( IScriptExpression expr, String objectName )
	{
		if ( expr == null )
			return null;
		else 
			return getReferencedScriptObject( expr.getText( ), objectName);
	}
	
	public static String getReferencedScriptObject( String expr, String objectName )
	{
		Context cx = Context.enter();
		CompilerEnvirons ce = new CompilerEnvirons();
		Parser p = new Parser( ce, cx.getErrorReporter( ) );