Bug 200916 Drag the sash in dataset editor dialog will lead the buttons hidden[07]
Description: Drag the sash in dataset editor dialog will lead the buttons hidden[07] Build number: 2.2.1.v20070823-0630 Steps to reproduce: 1, New a dataset 2, Turn to dataset parameter page 3, Drag the SASH in dataset 4, Check the New button on the right of the page Expected result: The New button isn't hidden Actual result: The New button is hidden by dragging the sash
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/property/AbstractPropertyDialog.java
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.Event;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.Sash;
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 class 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.7 $ $Date: 2007/07/06 06:58:17 $
 */
public abstract class AbstractPropertyDialog extends BaseDialog