Bug 212497 Need api to get all referencable report item with cube
Need model provide new api to return all referencable report items for dataset or cube respectively. For instance: getAvailableDataSetBindingReferenceList(); getAvailableCubeBindingReferenceList(); also keep current api: getAvailableDataBindingReferenceList().
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ReportItemDataRefTest.java
Iterator sorts = table2.sortsIterator( );
		SortKeyHandle sort = (SortKeyHandle) sorts.next( );
		assertEquals( "table 1 name", sort.getKey( ) ); 
	}
	/**
	 * Tests getDataBindingType() and getAvailableDataBindingReferenceList.
	 * 
	 * @throws Exception
	 */
	public void testgetAvailableDataBindingReferenceList( ) throws Exception
	{
		openDesign( "ReportItemHandleBindingDataTypeTest.xml" );  
		TextItemHandle text = (TextItemHandle) designHandle
				.findElement( "myText" ); 
		assertEquals( ReportItemHandle.DATABINDING_TYPE_NONE, text
				.getDataBindingType( ) );
		ListHandle list = (ListHandle) designHandle.findElement( "my list" ); 
		assertEquals( ReportItemHandle.DATABINDING_TYPE_DATA, list
				.getDataBindingType( ) );
		ExtendedItemHandle extendedItem = (ExtendedItemHandle) designHandle
				.findElement( "ex1" ); 
		assertEquals( ReportItemHandle.DATABINDING_TYPE_DATA, extendedItem
				.getDataBindingType( ) );
		TableHandle table = (TableHandle) designHandle.findElement( "table" ); 
		assertEquals( ReportItemHandle.DATABINDING_TYPE_REPORT_ITEM_REF, table
				.getDataBindingType( ) );
		
		PropertyHandle propHandle = list
				.getPropertyHandle( ReportItemHandle.DATA_BINDING_REF_PROP );
		List handleList = propHandle.getReferenceableElementList( );