Bug 172431 [eclipse3.3only]BPS17-4.5 Adding Date picker to input DateTime value for Axis Scale
In Axis Scale dialog, provide a Data picker next to the input box for convenience of inputting DataTime value.
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/TextEditorComposite.java
}
			else
			{
				
				try
				{
					ChartUIUtil.getDefaultNumberFormatInstance( )
							.parse( this.sText )
							.doubleValue( );
				}
				catch ( ParseException e )
				{
					this.sText = defaultValue == null ? "" : defaultValue; 
					this.txtValue.setText( this.sText );
				}
			}
		}
		else if ( valueType == TYPE_DATETIME )
		{
			SimpleDateFormat sdf = new SimpleDateFormat( "MM-dd-yyyy HH:mm:ss" ); 
			try
			{
				sdf.parse( this.sText );
			}
			catch ( ParseException e )
			{
				if ( defaultValue == null  )
				{
					Date today = new Date( );
					this.sText = sdf.format( today );