Bug 134988 [regression]Available items in Query didn't change when change data source in Edit Data Set Dialog.
Description: Available items in Query didn't change when change data source in Edit Data Set Dialog. Steps to reproduce: 1. New two different data sources. 2. New a dataset, change data source, view Available Items in Query pane. Expected result: Available Items in Query pane changed according to new Data source. Actual result: Available Items in Query pane kept unchanged.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/property/AbstractPropertyDialog.java
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.layout.FormAttachment;
import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.TreeItem;
import org.eclipse.swt.widgets.Widget;
import com.ibm.icu.util.StringTokenizer;
/**
 * This is the base claas for a dialog box with a tree on the left hand side and
 * pages for each node on the right. It takes a model object in the constructor
 * and maintains a reference to this object. The pages can retrieve this model
 * object by calling the {@link #getModel() getModel}method. It defines two
 * abstract methods {@link #performCancel() performCancel}and
 * {@link #performOk() performOk}. These methods are called when the user
 * presses the Ok or cancel button. <br/><br/>
 * 
 * Pages can be added to this by either calling the
 * {@link #addNodeTo(String, PropertyNode) addNodeTo}method or by calling the
 * {@link #addPageTo(String, String, String, Image, IPropertyPage) addPageTo}
 * method.
 * 
 * @version $Revision: 1.18 $ $Date: 2006/04/20 09:29:16 $
 */
public abstract class AbstractPropertyDialog extends BaseDialog