Bug 316695 Refactor data set editor pages' codes[26568]
Build Identifier: 20100610 Refactor data set editor pages' codes[26568]. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/DataSetParametersPage.java
ExpressionButtonUtil.createExpressionButton( defaultValueComposite,
					defaultValueText,
					provider,
					(DataSetHandle) getContainer( ).getModel( ),
					true,
					SWT.PUSH );
			ExpressionButtonUtil.initExpressionButtonControl( defaultValueText,
					structureHandle,
					DataSetParameter.DEFAULT_VALUE_MEMBER );
		}
		private void createComboCellParameter( Composite parent, String label )
		{
			ControlProvider.createLabel( parent, label );
			reportParamComposite = ControlProvider.getDefaultComposite( parent );
			linkToSalarParameter = new Combo( reportParamComposite,
					SWT.READ_ONLY );
			linkToSalarParameter.setLayoutData( ControlProvider.getGridDataWithHSpan( 1 ) );
			linkToSalarParameter.setItems( ParameterPageUtil.getLinkedReportParameterNames( (OdaDataSetParameterHandle) structureHandle ) );
			linkToSalarParameter.setVisibleItemCount( 30 );
			linkToSalarParameter.select( Utility.findIndex( linkToSalarParameter.getItems( ),
					( (OdaDataSetParameterHandle) structureHandle ).getParamName( ) ) );
			linkToSalarParameter.addModifyListener( new ModifyListener( ) {
				public void modifyText( ModifyEvent e )
				{
					linkToSalarParameterChanged( );
					if ( linkToSalarParameter.isEnabled( ) )
					{
						validateSyntax( );
					}
				}