checkDataType( (Query) notification.getNotifier( ) );
checkDataType( (Query) notification.getNotifier( ), (Series) ( (Query) notification.getNotifier( ) ).eContainer( ) ); }  if ( notification.getNotifier( ) instanceof SeriesDefinition && getChartModel( ) instanceof ChartWithAxes ) { Iterator axes = ((Axis)((SeriesDefinition) notification.getNotifier( )).eContainer( )).getAssociatedAxes( ).iterator( ); while ( axes.hasNext( ) ) { Series[] series = ( (Axis) axes.next( ) ).getRuntimeSeries( ); for ( int i = 0; i < series.length; i++ ) { checkDataType( (Query) series[i].getDataDefinition( ) .get( 0 ), series[i] ); } }
	public void changeTask( Notification notification )	{		if ( previewPainter != null )		{			// Only data definition query (not group query) will be validated			if ( notification.getNotifier( ) instanceof Query					&& ( (Query) notification.getNotifier( ) ).eContainer( ) instanceof Series )			{				checkDataType( (Query) notification.getNotifier( ) );			}			// Query and series change need to update Live Preview			if ( notification.getNotifier( ) instanceof Query					|| notification.getNotifier( ) instanceof Axis					|| notification.getNotifier( ) instanceof SeriesDefinition )			{				doLivePreview( );			}			else if ( ChartPreviewPainter.isLivePreviewActive( ) )			{				ChartAdapter.beginIgnoreNotifications( );				ChartUIUtil.syncRuntimeSeries( getChartModel( ) );				ChartAdapter.endIgnoreNotifications( );				previewPainter.renderModel( getChartModel( ) );			}			else			{				previewPainter.renderModel( getChartModel( ) );			}		}	}