if ( implicitProcessor instanceof SimpleProcessor ) { ( (SimpleProcessor) implicitProcessor ).setModel( cm ); }
	public final void refresh( GeneratedChartState gcs ) throws ChartException	{		Chart cm = gcs.getChartModel( );		ScriptHandler.callFunction( gcs.getRunTimeContext( ).getScriptHandler( ),				ScriptHandler.BEFORE_COMPUTATIONS,				gcs );		// COMPUTE THE PLOT AREA		long lTimer = System.currentTimeMillis( );		int iChartType = gcs.getType( );		Bounds boPlot = cm.getPlot( ).getBounds( );		Insets insPlot = cm.getPlot( ).getInsets( );		boPlot = boPlot.adjustedInstance( insPlot );		if ( iChartType == WITH_AXES )		{			PlotWithAxes pwa = (PlotWithAxes) gcs.getComputations( );			try			{				pwa.compute( boPlot );			}			catch ( Exception ex )			{				throw new ChartException( ChartEnginePlugin.ID,						ChartException.GENERATION,						ex );			}			logger.log( ILogger.INFORMATION,					Messages.getString( "info.compute.elapsed.time.with.axes", //$NON-NLS-1$							new Object[]{								new Long( System.currentTimeMillis( ) - lTimer )							}, gcs.getRunTimeContext( ).getLocale( ) ) );		}		else if ( iChartType == WITHOUT_AXES )		{			PlotWithoutAxes pwoa = (PlotWithoutAxes) gcs.getComputations( );			try			{				pwoa.compute( boPlot );			}			catch ( Exception ex )			{				throw new ChartException( ChartEnginePlugin.ID,						ChartException.GENERATION,						ex );			}			logger.log( ILogger.INFORMATION,					Messages.getString( "info.compute.elapsed.time.without.axes", //$NON-NLS-1$							new Object[]{								new Long( System.currentTimeMillis( ) - lTimer )							},							gcs.getRunTimeContext( ).getLocale( ) ) );		}		ScriptHandler.callFunction( gcs.getRunTimeContext( ).getScriptHandler( ),				ScriptHandler.AFTER_COMPUTATIONS,				gcs );	}