Bug 189829 Problem with "Select Value" in "Edit Filter Condition" dialog of Crosstab[1102]
Description: The double quotation mark is missed when choose a string value from "Select Value" in "Edit Filter Condtion" dialog. Build verison:2.2.0.v20070530-0630 Steps to reproduce: 1. Create a sample datasource and dataset. Bind with a cube. 2. Create a crosstab in the layout, set "Filters" on property editor view. In the "Edit Filter Condition" dialog, use "Select Value" to choose a string type value from dataset. Exception throws out when preview. 3. But if add double quotation mark on the value, preview is ok. Expected Result: Double quotation mark will be added automatically on the string type value.
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/ui/views/dialogs/CrosstabFilterConditionBuilder.java
expBuilder.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				editValue( expression );
			}
		} );
		operator = new Combo( condition, SWT.READ_ONLY );
		for ( int i = 0; i < OPERATOR.length; i++ )
		{
			operator.add( OPERATOR[i][0] );
		}
		operator.addSelectionListener( OpoertorSelection );
		expressionValue1 = new ExpressionValue( condition, SWT.NONE, null );
		value1 = expressionValue1.getValueText( );
		valBuilder1 = expressionValue1.getPopupButton( );
		createDummy( condition, 3 );
		andLable = new Label( condition, SWT.NONE );
		andLable.setText( Messages.getString( "FilterConditionBuilder.text.AND" ) ); 
		andLable.setVisible( false );
		createDummy( condition, 3 );
		expressionValue2 = new ExpressionValue( condition, SWT.NONE, null );
		value2 = expressionValue2.getValueText( );
		valBuilder2 = expressionValue2.getPopupButton( );
		value2.setVisible( false );
		valBuilder2.setVisible( false );
		if ( operator.getItemCount( ) > 0 )
		{
			operator.select( 0 );
		}
		createMemberValuesGroup( innerParent );