Bug 179629 After create a x-tab with a cube, a error occurs in Problems sheet[1102]
Description: After create a x-tab with a cube, a error occurs in Problems sheet[1102] Build number: 2.2.0.v20070328-0630 Steps to reproduce: 1, Create a cube 2, Create a x-tab using the cube 3, Check the error message in Problems sheet Expected result: No error occurs after create a x-tab Actual result: The error message is "The ExtendedItem must be able to access one data set."
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/DataSetRequiredValidator.java
{
	private final static DataSetRequiredValidator instance = new DataSetRequiredValidator( );
	/**
	 * Returns the singleton validator instance.
	 * 
	 * @return the validator instance
	 */
	public static DataSetRequiredValidator getInstance( )
	{
		return instance;
	}
	/**
	 * Validates whether the data set of the given listing element is provided.
	 * 
	 * @param module
	 *            the module
	 * @param element
	 *            the listing element to validate
	 * @return error list, each of which is the instance of
	 *         <code>SemanticException</code>.
	 */
	public List validate( Module module, DesignElement element )
	{
		if ( !( element instanceof ListingElement
				|| element instanceof ExtendedItem || element instanceof Cube ) )
			return Collections.EMPTY_LIST;
		return doValidate( module, element );
	}