Bug 145909 [regression] the layout of new map rule dialog is not well organized
steps to reproduce: - create a report - add a table/list - add a new map rule - notice new map rule dialog expected behavior: - the layout should be user friendly actual behavior: - it was simply not
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/MapRuleBuilder.java
if ( control instanceof Text )
		{
			initValue = ( (Text) control ).getText( );
		}
		else if ( control instanceof Combo )
		{
			initValue = ( (Combo) control ).getText( );
		}
		ExpressionBuilder expressionBuilder = new ExpressionBuilder(
				getShell( ), initValue );
		if ( designHandle != null )
		{
			expressionBuilder.setExpressionProvier( new ExpressionProvider(
					designHandle ) );
		}
		if ( expressionBuilder.open( ) == OK )
		{
			String result = DEUtil.resolveNull( expressionBuilder.getResult( ) );
			if ( control instanceof Text )
			{
				( (Text) control ).setText( result );
			}
			else if ( control instanceof Combo )
			{
				( (Combo) control ).setText( result );
			}
		}
		updateButtons( );
	}
}