Bug 213946 The cancel button of select data binding doesn't work[13]
Description: The cancel button of select data binding doesn't work[13] Build number: 2.3.0.v20071227-0800 Steps to reproduce: 1, New a chart 2, Select the dataset 3, Open the data binding 4, Add a data binding 5, Click Cancel button in Select Data Binding dialog Expected result: After step5, the new data binding is canceled Actual result: After step5, the data binding is created. Error log:
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ExpressionBuilder.java
gd.heightHint = 150;
		tree.setLayoutData( gd );
		tree.setToolTipText( null );
		treeViewer.setLabelProvider( new ExpressionLabelProvider( ) );
		treeViewer.setContentProvider( new ITreeContentProvider( ) {
			public Object[] getChildren( Object parentElement )
			{
				return provider.getChildren( parentElement );
			}
			public Object getParent( Object element )
			{
				return null;
			}
			public boolean hasChildren( Object element )
			{
				return provider.hasChildren( element );
			}
			public Object[] getElements( Object inputElement )
			{
				return getChildren( inputElement );
			}
			public void dispose( )
			{
			}
			public void inputChanged( Viewer viewer, Object oldInput,
					Object newInput )
			{
			}
		} );
		treeViewer.addSelectionChangedListener( selectionListener );