Bug 321474 Refactor data set editor pages' codes[28816]
Build Identifier: 20100729 Refactor data set editor pages' codes. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/DataSetProvider.java
columns[n].setHorizontalAlign( hint.getHorizontalAlign( ) );
				columns[n].setTextFormat( hint.getTextFormat( ) );
				columns[n].setDescription( hint.getDescription( ) );
				columns[n].setWordWrap( hint.wordWrap( ) );
				columns[n].setFormatValue( hint.getValueFormat( ) );
				columns[n].setIndexColumn( hint.isIndexColumn( ) );
			}
			
			if ( !uniqueColumnName.equals( columnName ) )
				updateModelColumn( dataSet, columns[n] );
		}
		updateModel( dataSet, columns );
		htColumns.put( dataSet, columns );
	}
	/**
	 * 
	 * @param ds
	 * @param column
	 */
	private void updateModelColumn( DataSetHandle ds, DataSetViewData column )
	{
		PropertyHandle resultSetColumns = ds.getPropertyHandle( DataSetHandle.RESULT_SET_PROP );
		if ( resultSetColumns == null )
			return;
		
		Iterator iterator = resultSetColumns.iterator( );
		if ( iterator == null )
			return;
		while ( iterator.hasNext( ) )
		{