Bug 180654 Cannot add column binding for Time type in Property Editor.[0001]
Description: Cannot add column binding for Time type in Property Editor. Build number:2.2.0.v200704031345 Steps to reproduce: 1. New sample data source and data set. 2. Drag one column to layout. 3. In Binding of Property Editor, Edit binding to set Type to Time, click OK. Expected result: Type is changed to Time. Actual result: Type is changed to Date Time. Error log:N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/DataItemBindingDialog.java
private String displayName;
	private void initDisplayName( )
	{
		if ( displayName != null && itemDisplayName != null )
		{
			itemDisplayName.setText( displayName );
		}
	}
	protected void save( ) throws SemanticException
	{
		if ( itemName.getText( ) != null
				&& itemName.getText( ).trim( ).length( ) > 0 )
		{
			if ( bindingColumn == null )
			{
				if ( itemExpression.getText( ) == null
						|| itemExpression.getText( ).trim( ).length( ) == 0 )
				{
					return;
				}
				newBinding.setName( itemName.getText( ) );
				newBinding.setDisplayName( itemDisplayName.getText( ) );
				for ( int i = 0; i < DATA_TYPE_CHOICES.length; i++ )
				{
					if ( DATA_TYPE_CHOICES[i].getDisplayName( )
							.endsWith( itemType.getText( ) ) )
					{
						newBinding.setDataType( DATA_TYPE_CHOICES[i].getName( ) );
						break;
					}