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
}
		public String getText( Object element )
		{
			return provider.getDisplayText( element );
		}
	};
	private IDoubleClickListener doubleClickListener = new IDoubleClickListener( ) {
		public void doubleClick( DoubleClickEvent event )
		{
			IStructuredSelection selection = (IStructuredSelection) event.getSelection( );
			if ( selection.isEmpty( ) )
			{
				return;
			}
			if ( event.getSource( ) == functionTable )
			{
				if ( selection.getFirstElement( ) instanceof Object[] )
				{
					Object[] inputArray = (Object[]) selection.getFirstElement( );
					if ( inputArray.length == 2
							&& inputArray[1] instanceof ReportItemHandle )
					{
						ColumnBindingDialog dialog = new ColumnBindingDialog( );
						dialog.setInput( (ReportItemHandle) inputArray[1] );
						if ( dialog.open( ) == Window.OK )
						{
							functionTable.refresh( );
						}
						return;
					}