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
public void setDefaultValue( String value )
	{
		this.defaultValue = value;
	}
	private void fireEvent( )
	{		
		boolean isFractionConverted = false;
		if ( valueType == TYPE_NUMBERIC )
		{
			int iDelimiter = sText.indexOf( '/' );
			if ( iDelimiter < 0 )
			{
				iDelimiter = sText.indexOf( ':' );
			}
			if ( iDelimiter > 0 )
			{
				
				isFractionConverted = true;
				String numerator = sText.substring( 0, iDelimiter );
				String denominator = sText.substring( iDelimiter + 1 );
				try
				{
					this.sText = String.valueOf( Double.parseDouble( numerator )
							/ Double.parseDouble( denominator ) );
				}
				catch ( NumberFormatException e )
				{
					this.sText = defaultValue == null ? "" : defaultValue; 
				}
				this.txtValue.setText( sText );