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/filter/DimensionFilterEvalHelper.java
}
		else
		{
			IEdgeDefinition columnEdge = this.queryDefn.getEdge( ICubeQueryDefinition.COLUMN_EDGE );
			IEdgeDefinition rowEdge = this.queryDefn.getEdge( ICubeQueryDefinition.ROW_EDGE );
			List dims = new ArrayList();
			dims.addAll( columnEdge.getDimensions( ) );
			dims.addAll( rowEdge.getDimensions( ) );
			
			for ( int i = 0; i < dims.size( ); i++ )
			{
				IDimensionDefinition dimDefn = (IDimensionDefinition)dims.get( i );
				if ( dimDefn.getName( ).equals( this.dimName ))
				{
					return dimDefn;
				}
			}
			return null;			
		}
	}
	/**
	 * This method should be called before we finish the usage of this class so
	 * that to deregister the "dimension" script object from the scope and deregister
	 * the current scope from its parent.
	 */
	public void close( )
	{
		this.scope.delete( "dimension" );
		this.scope.delete( "data" );
		this.scope.setParentScope( null );