else if ( event.widget.equals( txtRatio ) ) { String strRatio = txtRatio.getText( ); if ( strRatio == "" || Double.parseDouble( strRatio ) < 0.0 ) { series.setRatio( 0.0 ); } else { series.setRatio( Double.parseDouble( strRatio ) ); } }
	public void handleEvent( Event event )	{		if ( event.widget.equals( fccSliceOutline ) )		{			series.setSliceOutline( (ColorDefinition) event.data );		}		else if ( event.widget.equals( liacLeaderLine ) )		{			switch ( event.type )			{				case LineAttributesComposite.VISIBILITY_CHANGED_EVENT :					series.getLeaderLineAttributes( )							.setVisible( ( (Boolean) event.data ).booleanValue( ) );					break;				case LineAttributesComposite.STYLE_CHANGED_EVENT :					series.getLeaderLineAttributes( )							.setStyle( (LineStyle) event.data );					break;				case LineAttributesComposite.WIDTH_CHANGED_EVENT :					series.getLeaderLineAttributes( )							.setThickness( ( (Integer) event.data ).intValue( ) );					break;				case LineAttributesComposite.COLOR_CHANGED_EVENT :					series.getLeaderLineAttributes( )							.setColor( (ColorDefinition) event.data );					break;			}		}		else if ( event.widget.equals( txtExplode ) )		{			series.setExplosionExpression( txtExplode.getText( ) );		}		else if ( event.widget.equals( txtRatio ) )		{			String strRatio = txtRatio.getText( );			if ( strRatio == "" || Double.parseDouble( strRatio ) < 0.0 ) //$NON-NLS-1$			{				series.setRatio( 0.0 );			}			else			{				series.setRatio( Double.parseDouble( strRatio ) );			}		}	}