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/src/org/eclipse/birt/report/model/api/ModuleHandle.java
{
			return module
					.getLineNo( ( (DesignElementHandle) obj ).getElement( ) );
		}
		else if ( obj instanceof SlotHandle )
		{
			SlotHandle slot = (SlotHandle) obj;
			return module.getLineNo( new ContainerContext( slot.getElement( ),
					slot.getSlotID( ) ) );
		}
		else
			return 1;
	}
	/**
	 * Sorts visible elements. Check value in design handle and libraries and
	 * sort the sequence as list in slot handle.
	 * 
	 * @param nameSpaceList
	 *            the list contains elements from name space
	 * @param level
	 *            level
	 * 
	 * @return the list contains sorted design elements.
	 */
	private List sortVisibleElements( List nameSpaceList, int level )
	{
		
		List modules = new ArrayList( );
		if ( nameSpaceList.size( ) == 0 )
			return modules;