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
else
				itemType.select( 0 );
		}
	}
	private void initExpression( )
	{
		if ( expression != null && itemExpression != null )
		{
			itemExpression.setText( expression );
		}
	}
	protected void createButtonsForButtonBar( Composite parent )
	{
		super.createButtonsForButtonBar( parent );
		if ( itemExpression.getText( ) == null
				|| itemExpression.getText( ).trim( ).equals( "" ) )
		{
				getOkButton( ).setEnabled( false );
		}
		else
		{
				getOkButton( ).setEnabled( true );
		}
	}
	private String name;
	private void initName( )
	{
		if ( name != null && itemName != null )
			itemName.setText( name );
	}