Bug 209910 Drag the dataset from library, the resultset column number is doubled
Reproduce step: 1. Create one data set in library. 2. Drag it into a report design. 3. Open the data set editor, switch to the output column page, the result set number is doubled. I found there is something wrong in the org.eclipse.birt.report.model.api.util.CompatibilityUtil class. The method addStructures()will add structures list twice when the propHandle is not local.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/dataset/DataSetUIUtil.java
else if ( modelDataType == DataType.SQL_DATE_TYPE )
			return DesignChoiceConstants.COLUMN_DATA_TYPE_DATE;
		else if ( modelDataType == DataType.SQL_TIME_TYPE )
			return DesignChoiceConstants.COLUMN_DATA_TYPE_TIME;
		else if( modelDataType == DataType.BOOLEAN_TYPE )
			return DesignChoiceConstants.COLUMN_DATA_TYPE_BOOLEAN;
		
		return DesignChoiceConstants.COLUMN_DATA_TYPE_ANY;
	}
	
	public static void setExpressionButtonImage( Button button )
	{
		GridData gd = new GridData( );
		gd.widthHint = 20;
		gd.heightHint = 20;
		button.setLayoutData( gd );
		String symbolicName;
		if ( button.isEnabled( ) )
			symbolicName = IReportGraphicConstants.ICON_ENABLE_EXPRESSION_BUILDERS;
		else
			symbolicName = IReportGraphicConstants.ICON_DISABLE_EXPRESSION_BUILDERS;
		Image image = ReportPlatformUIImages.getImage( symbolicName );
		if ( image != null )
		{
			image.setBackground( button.getBackground( ) );
			button.setImage( image );
		}
	}
}