Bug 151552 Can't change the Data Set of a chart drag from a library
After creating a library with a chart,you use it and drag the chart to a report design.A error happen when you change the Data Set of the chart. 1.creat a library,add a chart into it ,then publish the library. 2.new a report and use the library ,drag the chart into the layout of the report,you can't change the data set of the chart,or a error will occur. Actual result:A error occur when you change the data set] Expected result:You can change the data set.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/PropertySearchStrategy.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.model.core;
import org.eclipse.birt.report.model.metadata.ElementDefn;
import org.eclipse.birt.report.model.metadata.ElementPropertyDefn;
/**
 * Default property searching strategy. Applied to most design element.
 */
public class PropertySearchStrategy
{
	/**
	 * Default strategy instance.
	 */
	private final static PropertySearchStrategy instance = new PropertySearchStrategy( );
	/**
	 * Protected constructor.
	 */
	protected PropertySearchStrategy( )
	{
	}