Bug 193895 Can not select the data cube in advanced and properties[1102]
Description: Can not select the data cube in advanced and properties[1102] Step: 1.New a report design, datasource, dataset, data cube 2.New a cross table 3.Switch Property Editor - Advanced 4.Switch Properties Actual result: Select the Cube selection and spread the drop down list, no data cube in it. Exception result: It can select the data cube in advance or properties
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/PropertyHandle.java
{
		if ( !( propertyHandle instanceof PropertyHandle ) )
			return false;
		DesignElement element = ( (PropertyHandle) propertyHandle )
				.getElement( );
		IPropertyDefn propDefn = ( (PropertyHandle) propertyHandle ).getDefn( );
		return ( element == getElement( ) ) && ( propDefn == getDefn( ) );
	}
	/**
	 * returns the element reference value list if the property is element
	 * referenceable type.
	 * 
	 * @return list of the reference element value.
	 */
	public List getReferenceableElementList( )
	{
		if ( propDefn.getTypeCode( ) != IPropertyType.ELEMENT_REF_TYPE
				&& propDefn.getSubTypeCode( ) != IPropertyType.ELEMENT_REF_TYPE )
			return Collections.EMPTY_LIST;
		List list = new ArrayList( );
		ElementDefn elementDefn = (ElementDefn) propDefn.getTargetElementType( );
		assert elementDefn != null;
		ModuleHandle moduleHandle = ( (ModuleHandle) getModule( ).getHandle(
				getModule( ) ) );
		if ( ReportDesignConstants.DATA_SET_ELEMENT.equals( elementDefn
				.getName( ) ) )
			return moduleHandle.getVisibleDataSets( );
		else if ( ReportDesignConstants.DATA_SOURCE_ELEMENT.equals( elementDefn
				.getName( ) ) )
			return moduleHandle.getVisibleDataSources( );