Bug 199488 BIRT Cross tab - Filter/SORT dialog UI needs improvement
Improve the crosstab filter dialog for cross tab. Currently we directly display the bound data columns of the crosstab. It is very difficult for user to find which column is based on aggregation.
data/org.eclipse.birt.report.data.adapter/test/org/eclipse/birt/report/data/adapter/internal/script/DataRequestSessionTest.java
IBinding binding1 = new Binding( "b1", new ScriptExpression("dimension[\"dim1\"][\"level1\"]"));
		IBinding binding2 = new Binding( "b2", new ScriptExpression("dimension.dim1.level2 + 1"));
		IBinding binding3 = new Binding( "b3", new ScriptExpression("dimension[\"dim1\"][\"level3\"] + dimension.dim1.level2"));
		IBinding binding4 = new Binding( "b4", new ScriptExpression("data.b1"));
		IBinding binding5 = new Binding( "b5", new ScriptExpression("dimension.dim1.level1 + 25"));
		IBinding binding6 = new Binding( "b6", new ScriptExpression("data.b4 + 1"));
		IBinding binding7 = new Binding( "b7", new ScriptExpression("measure[\"abc\"]"));
		binding7.addAggregateOn( "dimension[\"dim1\"][\"level2\"]" );
		binding7.addAggregateOn( "dimension[\"dim1\"][\"level1\"]" );
		binding7.addAggregateOn( "dimension[\"dim2\"][\"level1\"]" );
		
		IBinding binding71 = new Binding( "b71", new ScriptExpression("measure[\"abc\"]"));
		binding71.addAggregateOn( "dimension[\"dim1\"][\"level1\"]" );
		binding71.addAggregateOn( "dimension[\"dim1\"][\"level2\"]" );
		binding71.addAggregateOn( "dimension[\"dim2\"][\"level1\"]" );
		
		IBinding binding8 = new Binding( "b8", new ScriptExpression("dimension[\"dim2\"][\"level1\"]"));
		
		ICubeQueryDefinition query = new CubeQueryDefinition( "query");
		query.addBinding( binding1 );
		query.addBinding( binding2 );
		query.addBinding( binding3 );
		query.addBinding( binding4 );
		query.addBinding( binding5 );
		query.addBinding( binding6 );
		query.addBinding( binding7 );
		query.addBinding( binding71 );
		query.addBinding( binding8 );
		
		IEdgeDefinition columnEdge = query.createEdge( ICubeQueryDefinition.COLUMN_EDGE );