Bug 192109 [Regression]Can't set time type for data item[0001]
Description: Bind a data item to "Date" type column in dataset, can't set its type to "Time" type. Regression bug:180899 Build version:2.2.0.v20070612-0630 Steps to reproduce: 1. New a sample data source, new a data set: select * from CLASSICMODELS.ORDERS. 2. Drag a data item from Palette to Layout, binding to row["ORDERDATE"], select type to Time. 3. Double click the data item in the layout, the type is changed to "Date Time" type. Expected Result: Time type could be set on date type data.
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/dialogs/CrosstabBindingDialogHelper.java
true );
			for ( Iterator iterator = argsMap.keySet( ).iterator( ); iterator.hasNext( ); )
			{
				String arg = (String) iterator.next( );
				AggregationArgument argHandle = StructureFactory.createAggregationArgument( );
				argHandle.setName( ( getArgumentByDisplayName( this.binding.getAggregateFunction( ),
						arg ) ) );
				argHandle.setValue( ( (Text) argsMap.get( arg ) ).getText( ) );
				this.binding.addArgument( argHandle );
			}
		}
		else
		{
			if ( cmbDataField.getText( ) != null
					&& cmbDataField.getText( ).trim( ).length( ) == 0 )
			{
				this.binding = null;
				return;
			}
			if ( !( this.binding.getName( ) != null && this.binding.getName( )
					.equals( txtName.getText( ).trim( ) ) ) )
				this.binding.setName( txtName.getText( ) );
			this.binding.setDisplayName( txtDisplayName.getText( ) );
			for ( int i = 0; i < DATA_TYPE_CHOICES.length; i++ )
			{
				if ( DATA_TYPE_CHOICES[i].getDisplayName( )
						.equals( cmbType.getText( ) ) )
				{
					this.binding.setDataType( DATA_TYPE_CHOICES[i].getName( ) );
					break;