Bug 324070 Refactor data set editor pages' codes[30967]
Build Identifier: 20100828 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
DataSetViewData[] dsItemModel )
	{
		if ( dataSet == null || dsItemModel == null )
			return;
		updateModel( dataSet, dsItemModel );
		cleanUnusedResultSetColumn( dataSet, dsItemModel );
		cleanUnusedComputedColumn( dataSet, dsItemModel );
		htColumns.put( dataSet, dsItemModel );
	}
	private ColumnHintHandle findColumnHint( DataSetHandle handle,
			String columnName )
	{
		if ( columnName == null || columnName.trim( ).length( ) == 0 )
			return null;
		ColumnHintHandle hint = null;
		Iterator iter = handle.getPropertyHandle( DataSetHandle.COLUMN_HINTS_PROP )
				.iterator( );
		while ( iter.hasNext( ) )
		{
			hint = (ColumnHintHandle) iter.next( );
			if ( columnName.equals( hint.getColumnName( ) ) )
			{
				return hint;
			}
		}
		if ( hint == null && ( handle instanceof DerivedDataSetHandle ) )
		{
			List<DataSetHandle> inputDataSets = ( (DerivedDataSetHandle) handle ).getInputDataSets( );
			for ( int i = 0; i < inputDataSets.size( ); i++ )
			{